-
-
-
-
-
-
What is the range of the char type
The range of the char type is 0 to 2^16 - 1.
-
If a variable is declared as private, where may the variable be accessed
A private variable may only be accessed within the class in which it is declared.
-
What is the difference between a Choice and a List
A Choice is displayed in a compact form that requires you to pull it down to see the listof availablechoices. Only one item may be selected from a Choice. A List may be displayed in such away that severalList items are visible. A List supports the selection of one or more List items.
-
Can an unreachable object become reachable again
An unreachable object may become reachable again. This can happen when the object'sfinalize() method isinvoked and the object performs an operation which causes it to become accessible toreachable objects.
-
How many methods in the Serializable interface?
There is no method in the Serializable interface. The Serializable interface acts as a marker, telling the object serialization tools that your class is serializable.
-
-
-
-
-
-
-
-
-
Which one of the following is NOT a configurable JVM option?
Choice 1: Collect profiling and debugging statistics. Choice 2: Modify the number of bits a double variable uses. Choice 3 : Set the initial memory allocation pool size. Choice 4 :Modify the garbage collector's behavior. Choice 5 :Set the maximum memory allocation pool size.
-
Exeption Handling
What happenes if exception occur in finally block?
Java Interview Questions
Ans