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

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

which characters may be used as the second character of an identifier, but not as the first character of an identifier?
which characters may be used as the second character of an identifier, but not as the first character of an identifier? The digits 0 through 9 may not be used as the first character of an identifier but they may be used after the first character of an identifier.
2012-09-21, 2405👍, 0💬

What is final?
What is final? A final class can't be extended ie., final class may not be subclassed. A final method can't be overridden when its class is inherited. You can't change value of a final variable (is a constant).
2013-05-01, 2402👍, 0💬

How are Java source code files named?
How are Java source code files named? A Java source code file takes the name of a public class or interface that is defined within the file. A source code file may contain at most one public class or interface. If a public class or interface is defined within a source code file, then the source code...
2012-11-01, 2402👍, 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, 2401👍, 0💬

Does garbage collection guarantee that a program will not run out of memory?
Does garbage collection guarantee that a program will not run out of memory? Garbage collection does not guarantee that a program will not run out of memory. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create obje...
2013-06-06, 2400👍, 0💬

What are pass by reference and passby value?
What are pass by reference and passby value? Pass By Reference means the passing the address itself rather than passing the value. Passby Value means passing a copy of the value to be passed.
2013-04-24, 2400👍, 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, 2400👍, 0💬

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

How can a dead thread be restarted?
How can a dead thread be restarted? A dead thread cannot be restarted.
2013-01-15, 2396👍, 0💬

How to create custom exceptions?
How to create custom exceptions? Your class should extend class Exception, or some more specific type thereof.
2013-05-29, 2395👍, 0💬

What is the return type of a program's main() method?
What is the return type of a program's main() method? A program's main() method has a void return type.
2012-12-21, 2394👍, 0💬

Is Java code slower than native code?
Is Java code slower than native code? Not really. As a platform-independent environment, the Java platform can be a bit slower than native code. However, smart compilers, well-tuned interpreters, and just-in-time bytecode compilers can bring performance close to that of native code without threateni...
2013-02-22, 2392👍, 0💬

Which Container method is used to cause a container to be laid out and redisplayed?
Which Container method is used to cause a container to be laid out and redisplayed? validate()
2012-10-22, 2389👍, 0💬

Where and how can you use a private constuctor.
Where and how can you use a private constuctor. Private constructor can be used if you do not want any other class to instanstiate it by using new. The instantiation is done from a static public method, which is used when dealing with the factory method pattern.
2012-08-17, 2387👍, 0💬

How many times may an object's finalize() method be invoked by the garbage collector?
How many times may an object's finalize() method be invoked by the garbage collector? An object's finalize() method may only be invoked once by the garbage collector.
2012-10-23, 2385👍, 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, 2382👍, 0💬

What is the Dictionary class?
What is the Dictionary class? The Dictionary class provides the capability to store key-value pairs.
2012-11-08, 2382👍, 0💬

What is the SimpleTimeZone class?
What is the SimpleTimeZone class? The SimpleTimeZone class provides support for a Gregorian calendar.
2012-11-16, 2380👍, 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, 2380👍, 0💬

What if the main method is declared as private?
What if the main method is declared as private? The program compiles properly but at runtime it will give "Main method not public." message.
2013-05-02, 2379👍, 0💬

What is a layout manager?
What is a layout manager? A layout manager is an object that is used to organize components in a container.
2013-01-16, 2378👍, 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, 2378👍, 0💬

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