Page 1 of 1

What does Class.forName(“myreflection.Foo”).getInstance() return?

Posted: Wed Jul 13, 2022 7:50 pm
by answerhappygod
a) An array of Foo objects
b) class object of Foo
c) Calls the getInstance() method of Foo class
d) Foo object