-
The new operator dynamically allocates memory for an object
A) TrueB) False
-
When a member is declared static, it CANNOT be accessed before any objects of its class are created, and without reference to any object
A) TrueB) FalseExplanation: When a member is declared static, it can be accessed before any objects of its class are created, and without reference to any object. You can declare both methods and variables to be static.
-
-
What is the significance of wait() method ?
What is the significance of wait() method with respect to Object class, not in Thread class?
-
-
-
Finalize( ) is only called just prior to _________
A) InitialisationB) RuntimeC) Garbage CollectionD) None of the above
-
-
-
-
Deallocation of memory in Java is called Garbage Collection
A) TrueB) False
-
-
Java Classes Questions
Ans