What is used to get class name in reflection?
(a) getClass().getName()
(b) getClass().getFields()
(c) getClass().getDeclaredFields()
(d) new getClass()
I got this question in an online interview.
The question is from Reflection API topic in section Session Management, JSP & API of Java