Which of the following is a method having same name as that of its class?
(a) finalize
(b) delete
(c) class
(d) constructor
I have been asked this question in examination.
My question is based upon Constructors & Garbage Collection in division Classes and Methods of Java