1.

Which of these method of Object class is used to obtain class of an object at run time?(a) get()(b) void getclass()(c) Class getclass()(d) None of the mentionedThe question was posed to me in my homework.Question is taken from The Object Class topic in chapter Inheritance of Java

Answer» CORRECT ANSWER is (C) Class getclass()

Best EXPLANATION: None.


Discussion

No Comment Found

Related InterviewSolutions