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

What is native code?
What is native code? The native code is code that after you compile it, the compiled code runs on a specific hardware platform.
2013-02-21, 2105👍, 0💬

What is the relationship between an event-listener interface and an event-adapter class?
What is the relationship between an event-listener interface and an event-adapter class? An event-listener interface defines the methods that must be implemented by an event handler for a particular kind of event. An event adapter provides a default implementation of an event-listener interface.
2012-12-03, 2105👍, 0💬

Which method of the Component class is used to set the position and size of a component?
Which method of the Component class is used to set the position and size of a component? setBounds()
2012-09-27, 2105👍, 0💬

Which class is the immediate superclass of the Container class?
Which class is the immediate superclass of the Container class? Component
2012-12-17, 2104👍, 0💬

What classes of exceptions may be caught by a catch clause?
What classes of exceptions may be caught by a catch clause? A catch clause can catch any exception that may be assigned to the Throwable type. This includes the Error and Exception types.
2012-11-15, 2103👍, 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, 2103👍, 0💬

What is the difference between yielding and sleeping?
What is the difference between yielding and sleeping? When a task invokes its yield() method, it returns to the ready state. When a task invokes its sleep() method, it returns to the waiting state.
2012-09-28, 2103👍, 0💬

When is an object subject to garbage collection?
When is an object subject to garbage collection? An object is subject to garbage collection when it becomes unreachable to the program in which it is used.
2013-01-29, 2101👍, 0💬

What is the default value of an object reference declared as an instance variable?
What is the default value of an object reference declared as an instance variable? Null unless we define it explicitly.
2013-05-15, 2099👍, 0💬

What is numeric promotion?
What is numeric promotion? Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that integer and floating-point operations may take place. In numerical promotion, byte, char, and short values are converted to int values. The int values are also converted to long...
2013-01-21, 2094👍, 0💬

What is the preferred size of a component?
What is the preferred size of a component? The preferred size of a component is the minimum component size that will allow the component to display normally.
2012-09-19, 2092👍, 0💬

Can a private method of a superclass be declared within a subclass?
Can a private method of a superclass be declared within a subclass? Sure. A private field or method or inner class belongs to its declared class and hides from its subclasses. There is no way for private stuff to have a runtime overloading or overriding (polymorphism) features.
2012-08-31, 2092👍, 0💬

What is the difference between the &gt&gt and &gt&gt&gt operators?
What is the difference between the &gt&gt and &gt&gt&gt operators? The &gt&gt operator carries the sign bit when shifting right. The &gt&gt&gt zero-fills bits that have been shifted out.
2012-09-26, 2090👍, 0💬

If a class is declared without any access modifiers, where may the class be accessed?
If a class is declared without any access modifiers, where may the class be accessed? A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces that are defined within the same package.
2012-11-16, 2088👍, 0💬

What is the difference between the prefix and postfix forms of the ++ operator?
What is the difference between the prefix and postfix forms of the ++ operator? The prefix form performs the increment operation and returns the value of the increment operation. The postfix form returns the current value all of the expression and then performs the increment operation on that value.
2013-01-23, 2087👍, 0💬

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, 2087👍, 0💬

What is the difference between a break statement and a continue statement?
What is the difference between a break statement and a continue statement? A break statement results in the termination of the statement to which it applies (switch, for, do, or while). A continue statement is used to end the current loop iteration and return control to the loop statement.
2012-10-26, 2083👍, 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, 2083👍, 0💬

What comes to mind when you hear about a young generation in Java?
What comes to mind when you hear about a young generation in Java? Garbage collection.
2013-04-14, 2080👍, 0💬

What are E and PI?
What are E and PI? E is the base of the natural logarithm and PI is mathematical value pi.
2013-01-04, 2080👍, 0💬

What is the Set interface?
What is the Set interface? The Set interface provides methods for accessing the elements of a finite mathematical set. Sets do not allow duplicate elements.
2013-01-03, 2080👍, 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, 2080👍, 0💬

Which Java operator is right associative?
Which Java operator is right associative? The = operator is right associative.
2012-10-24, 2078👍, 0💬

What modifiers may be used with an inner class that is a member of an outer class?
What modifiers may be used with an inner class that is a member of an outer class? A (non-local) inner class may be declared as public, protected, private, static, final, or abstract.
2012-09-25, 2078👍, 0💬

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