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

Is final static java?

0 Answers  


How does marker interface provides functionality to the implemented class ? or How dose maker interface gets the functionalities as serialization or cloning.

4 Answers   Cap Gemini,


What class is used to create Server side object?

1 Answers   TCS,


What is java life cycle?

0 Answers  


What does i ++ mean in Java?

0 Answers  






Mention a package that is used for linked list class in java.

0 Answers  


How many types of voids are there?

0 Answers  


What is the output of the below java program?

0 Answers  


How hashmap works in java?

0 Answers  


What does it mean to flush a file?

0 Answers  


What is difference between synchronize and concurrent collection in java?

0 Answers  


How do you decide when to use arraylist and linkedlist?

0 Answers  


Categories