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 collections framework?
What is the best definition for data?
What is a parameter in simple terms?
What is sortedset in java?
What is volatile data type?
Define packages in java?
Why do we need data structure in java?
Why collection doesn’t extend cloneable and serializable interfaces?
Difference between string, string builder, and string buffer?
How can we create objects if we make the constructor private ?
Explain the difference between association, aggregation and inheritance relationships.
What is string in java? String is a data type?
What is passing parameters in java?
Explain the importance of finally over return statement?
Are arrays passed by reference in java?