Advanced Java - Interview Questions and Answers
What class is the top of the AWT event hierarchy?
The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy.
When a thread is created and started, what is its initial state?
A thread is in the ready state after it has been created and started.
Can an anonymous class be declared as implementing an interface and extending a class?
An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.
What is the immediate superclass of Menu?
What is the purpose of finalization?
The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.
Which class is the immediate superclass of the MenuComponent class?