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 |
what is aberivation of java?
Define reflection.
If circular link of two objects, then will it be garbage collected ?
What is the use of singleton?
Default layout of Dialog object?
What do you mean by ternary operator in java?
Variables used in a switch statement can be used with which datatypes?
Is math an abstract class in java?
Explain the differences between static and dynamic variables?
What is a "pure virtual" member function?
In C we use only compiler. Why java uses both compiler and interpreter? What is its significance?
How do you sort objects in java?