what are the uses of Class class and what it returns?
explain it with the example code.



what are the uses of Class class and what it returns? explain it with the example code...

Answer / santhosh kv

we can use class "Class" for dynamic class loading.

ie Class.forName("classname");

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is aberivation of java?

14 Answers  


Define reflection.

0 Answers  


If circular link of two objects, then will it be garbage collected ?

3 Answers   TCS,


What is the use of singleton?

0 Answers  


Default layout of Dialog object?

1 Answers  






What do you mean by ternary operator in java?

0 Answers  


Variables used in a switch statement can be used with which datatypes?

0 Answers  


Is math an abstract class in java?

0 Answers  


Explain the differences between static and dynamic variables?

0 Answers   Fidelity,


What is a "pure virtual" member function?

0 Answers   Amazon,


In C we use only compiler. Why java uses both compiler and interpreter? What is its significance?

5 Answers  


How do you sort objects in java?

0 Answers  


Categories