-
-
-
-
-
What is the Collection interface
The Collection interface provides support for the implementation of a mathematical bag -an unordered collection of objects that may contain duplicates.
-
-
How many times may an object's finalize() method be invoked by thegarbage collector
An object's finalize() method may only be invoked once by the garbage collector.
-
-
How are this() and super() used with constructors?
This() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.
-
-
What modifiers can be used with a local inner class
A local inner class may be final or abstract.
-
What is the % operator
It is referred to as the modulo or remainder operator. It returns the remainder of dividingthe first operand by the second operand.
-
25. Is sizeof a keyword
The sizeof operator is not a keyword.
-
Garbage collection (object lifetime)
Explain details of concept of"object iceland" in garbage collection (object lifetime) in core java
-
-
-
-
-
-
Java Interview Questions
Ans