1.

What is the return type of Constructors?(a) int(b) float(c) void(d) none of the mentionedThe question was asked in semester exam.My enquiry is from Constructors & Garbage Collection topic in division Classes and Methods of Java

Answer» RIGHT answer is (d) none of the mentioned

The explanation: CONSTRUCTORS does not have any RETURN TYPE, not even void.


Discussion

No Comment Found

Related InterviewSolutions