How private method can be called using reflection?
(a) getDeclaredFields
(b) getDeclaredMethods
(c) getMethods
(d) getFields
The question was posed to me during an interview.
This key question is from Reflection API topic in chapter Session Management, JSP & API of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)