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 are internal and external variables?

0 Answers  


What are invisible components?.

0 Answers  


What are the common problems you have faced while implementing Java?

1 Answers   IBM,


What is adapter in java?

0 Answers  


How do you input a string in java?

0 Answers  


Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target

7 Answers   Infosys, WW,


How do listeners work?

0 Answers  


What are batch updates. in jdbc

2 Answers   Corent Technology,


why ,we are using jsp and html.which one is better?

2 Answers   Photon,


What is singleton math?

0 Answers  


What are peerless components?

0 Answers  


Difference between Encapsulation and Abstraction

4 Answers   Fidelity,


Categories