Question: Which of the following statements are incorrect? (a) Default constructor is called at the time of declaration of the object if a constructor has not
Which of the following statements are incorrect?
(a) Default constructor is called at the time of declaration of the object if a constructor has not been defined.
(b) Constructor can be parameterize
(c) finalize() method is called when an object goes out of scope and is no longer needed.
(d) finalize() method must be declared protected.
Step by Step Solution
3.42 Rating (171 Votes )
There are 3 Steps involved in it
c finalize metho... View full answer
Get step-by-step solutions from verified subject matter experts
