what are the uses of Class class and what it returns?
explain it with the example code.
Answer Posted / 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 View All Answers
What is a default constraint?
What is a super method?
how we can create packages in java?
Write a java program to count the number of words present in a string?
What is difference between length and length() method in java ?
Are functions objects in java?
What is the use of default method in interface in java?
What are the different ways to handle exceptions?
What is singleton class example?
How is tree Mirroring implemented?
What are advantages of using Java?s layout managers than windowing systems?
what is the difference between preemptive scheduling and time slicing? : Java thread
Is void a wrapper class?
What is the output of the below java program?
What do you understand by looping in java? Explain the different types of loops.