Java Interviews
Java Interview
A thread enters the waiting state when it blocks on I/O.
If a checked exception may be thrown within the body of a method, the method must either catch the exception or declare it in its throws clause.
The CheckboxMenuItem class extends the MenuItem class to support a menu item that may be checked or unchecked.
A task's priority is an integer value that identifies the relative order in which it should be executed with respect to other tasks. The scheduler attempts to schedule higher priority tasks before lower priority tasks.
The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy.
A thread is in the ready state after it has been created and started.
An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.
The range of the short type is -(2^15) to 2^15 - 1.
Most of the AWT-related events of the event-delegation model are defined in the java.awt.event package. The AWTEvent class is defined in the java.awt package.