How private field can be called using reflection?
(a) getDeclaredFields
(b) getDeclaredMethods
(c) getMethods
(d) getFields
This question was addressed to me by my school principal while I was bunking the class.
I'd like to ask this question from Reflection API topic in portion Session Management, JSP & API of Java