Home / Programming MCQs / JAVA MCQs / Question

M

Mahesh Chandra • 6.28K Points
Tutor III

Q. Which method of the Class.class is used to determine the name of a class represented by the class object as a String?

(A) getClass()
(B) intern()
(C) getName()
(D) toString()

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.