Multiple Choice Question

Quiz Guidelines



Which of the following statements are acceptable?

Select 4 options

A. Object o = new"a.txt");  (Assume that is a valid class.)
B. Boolean bool = false;
C. char ch = 10;
D. Thread t = new Runnable() ;(Assume that Runnable is a valid interface.) 
E. Runnable r = new Thread();  (Assume that Thread is a class that implements Runnable interface)

Q&A Set: