1.What might form part of correct inner class declaration and installation?
A. new simpleInterface(){} -true
B. new complexInterface(x) {} -true
C. private final abstract class c//abstract & final cannot be together.
D. MyClass extends OtherClass //false-body required
E. new MyClass() extends OtherClass{}//false-???
2.Why would a responsible
Java programmer want to use a nested class?
a. To keep the code for a very specialized class in close association with the class it works with. -true
b. To support a new user interface that generates custom events. ???
2.What is the method used to schedule a
thread for execution?
ans given is public void run()-but I feel it should be start()
[This message has been edited by hema janani (edited September 22, 2000).]