-
-
-
Obtaining objects of a class is a ____ -step process
A) oneB) TwoC) ThreeD) FourExplanation: Obtaining objects of a class is a two-step process. First, you must declare a variable of the class type. This variable does not define an object. Instead, it is simply a variable that can refer to an object. Second, you must acquire an actual, physical copy of the object and assign it to that variable.
-
-
Deallocation of memory in Java is called Garbage Collection
A) TrueB) False
-
Finalize( ) is only called just prior to _________
A) InitialisationB) RuntimeC) Garbage CollectionD) None of the above
-
-
-
-
-
-
-
Java Classes Questions
Ans