Home / Programming MCQs / JAVA MCQs / Question

Y

Yogesh • 7.43K Points
Tutor III

Q. What is used to get class name in reflection?

(A) new getClass()
(B) getClass().getDeclaredFields()
(C) getClass().getName()
(D) getClass().getFields()

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.