<< < 11 12 13 14 15 16 17 18 19 20 21 > >>   Sort: Rank

What invokes a thread's run() method?
What invokes a thread's run() method? After a thread is started, via its start() method or that of the Thread class, the JVM invokes the thread's run() method when the thread is initially executed.
2012-10-18, 2086👍, 0💬

Which class is the immediate superclass of the MenuComponent class.
Which class is the immediate superclass of the MenuComponent class. Object
2012-10-17, 2082👍, 0💬

What is the purpose of finalization?
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.
2012-10-17, 2119👍, 0💬

In which package are most of the AWT events that support the event-delegation model defined?
In which package are most of the AWT events that support the event-delegation model defined? 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.
2012-10-16, 2040👍, 0💬

What is the range of the char type?
What is the range of the char type? The range of the char type is 0 to 2^16 - 1.
2012-10-16, 2079👍, 0💬

What is the range of the short type?
What is the range of the short type? The range of the short type is -(2^15) to 2^15 - 1.
2012-10-15, 2072👍, 0💬

Can an anonymous class be declared as implementing an interface and extending a class?
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.
2012-10-15, 2120👍, 0💬

What class is the top of the AWT event hierarchy?
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.
2012-10-12, 2580👍, 0💬

What is a task's priority and how is it used in scheduling?
What is a task's priority and how is it used in scheduling? 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.
2012-10-12, 2183👍, 0💬

What is the difference between a MenuItem and a CheckboxMenuItem?
What is the difference between a MenuItem and a CheckboxMenuItem? The CheckboxMenuItem class extends the MenuItem class to support a menu item that may be checked or unchecked.
2012-10-11, 3086👍, 0💬

What is the catch or declare rule for method declarations?
What is the catch or declare rule for method declarations? 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.
2012-10-11, 2278👍, 0💬

To what value is a variable of the String type automatically initialized
To what value is a variable of the String type automatically initialized The default value of a String type is null.
2012-10-10, 2118👍, 0💬

When a thread blocks on I/O, what state does it enter?
When a thread blocks on I/O, what state does it enter? A thread enters the waiting state when it blocks on I/O.
2012-10-10, 2418👍, 0💬

What are order of precedence and associativity, and how are they used?
What are order of precedence and associativity, and how are they used? Order of precedence determines the order in which operators are evaluated in expressions. Associatity determines whether an expression is evaluated left-to-right or right-to-left
2012-10-09, 2142👍, 0💬

Can a for statement loop indefinitely?
Can a for statement loop indefinitely? Yes, a for statement can loop indefinitely. For example, consider the following: for(;;) ;
2012-10-09, 2229👍, 0💬

What is a native method?
What is a native method? A native method is a method that is implemented in a language other than Java.
2012-10-08, 2138👍, 0💬

What is clipping?
What is clipping? Clipping is the process of confining paint operations to a limited area or shape.
2012-10-08, 2155👍, 0💬

What is the immediate superclass of the Dialog class?
What is the immediate superclass of the Dialog class? Window.
2012-10-05, 2526👍, 0💬

What value does readLine() return when it has reached the end of a file?
What value does readLine() return when it has reached the end of a file? The readLine() method returns null when it has reached the end of a file.
2012-10-05, 2464👍, 0💬

Name three Component subclasses that support painting.
Name three Component subclasses that support painting. The Canvas, Frame, Panel, and Applet classes support painting.
2012-10-04, 2137👍, 0💬

What is the difference between preemptive scheduling and time slicing?
What is the difference between preemptive scheduling and time slicing? Under preemptive scheduling, the highest priority task executes until it enters the waiting or dead states or a higher priority task comes into existence. Under time slicing, a task executes for a predefined slice of time and the...
2012-10-04, 2102👍, 0💬

What is the immediate superclass of the Applet class?
What is the immediate superclass of the Applet class? Panel
2012-10-03, 2616👍, 0💬

Can an object's finalize() method be invoked while it is reachable?
Can an object's finalize() method be invoked while it is reachable? An object's finalize() method cannot be invoked by the garbage collector while the object is still reachable. However, an object's finalize() method may be invoked by other objects.
2012-10-03, 2269👍, 0💬

What restrictions are placed on the location of a package statement within a source code file?
What restrictions are placed on the location of a package statement within a source code file? A package statement must appear as the first line in a source code file (excluding blank lines and comments).
2012-10-02, 2350👍, 0💬

<< < 11 12 13 14 15 16 17 18 19 20 21 > >>   Sort: Rank