Discussion Forum : Java.lang.reflect
Question - What does Class.forName("myreflection.Foo).getInstance() return?
Options:
A .  An array of Foo objects
B .  class object of Foo
C .  Calls the getInstance() method of Foo class
D .  Foo object
Answer: Option D





Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *