Dear candidates you will find MCQ questions of JAVA here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
Q. How to get the class object of associated class using Reflection?
Q. How method can be invoked on unknown object?
Q. What is used to get class name in reflection?
Q. How private field can be called using reflection?
Q. How private method can be called using reflection?
Q. What does Class.forName(“myreflection.Foo”).getInstance() return?
Q. What is not the advantage of Reflection?
Q. Which of the following is not a marker interface?
Don't have account? Register here.