Question: How to get the class object of associated class using Reflection?
Options
A : Class.forName(?className?)
B : Class.name(?className?)
C : className.getClass()
D : className.getClassName()
Click to view Correct Answer
Reflection API more questions
Which of the following is not a marker interface?
Which tag is used to set a value of a....
Can servlet class declare constructor with ServletConfig object as an....
How constructor can be used for a servlet?
How method can be invoked on unknown object?
What does Class.forName(?myreflection.Foo?).getInstance() return?
What does foo.getClass().getMethod(?doSomething?, null) return?
What is the difference between servlets and applets?^ i. Servlets....
What is used to get class name in reflection?
Which method is used to get three-letter abbreviation for locale's....