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 ordered map in java?
What is the difference between hashmap and hashtable in java?
Is 0 a real number?
Can we override a variable in java?
What is a boolean expression in java?
How do you add an element to an arraylist in java?
In java, how we can disallow serialization of variables?
what is the difference between yielding and sleeping? : Java thread
What happens when you add a double value to a string?
What are the two ways in which thread can be created?
What is the difference between conversation & casting?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
How are destructors defined in java?
Explain inner classes ?
How to implement an arraylist in java?