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 |
Is Java Class Threadsafe ????? How to make Java class Thread safe??
What are access modifiers?
Explain when we should make an instance variable private.
What is lifetime variable?
What is a singleton class? Give a practical example of its usage.
What is method Overriding in the perspective of OOPS?
Can we force garbage collector to run ?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What is thin driver and thick driver. why it is called so?
What does it mean to flush a file?
WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?
What is a condition in java?