when we write class.forName("any one class"); what happens
actually?what it will return?explain stepwise?
Answer Posted / raghu
When Class.forNmae("className") is executed, the class will
be loaded, as soon as the class is loaded the static block
will be executed.In the static block the thngs will happen.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is singletonlist in java?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
What is a dynamic array java?
What are decalarations?
What is dot operator?
What are synchronized blocks in java?
What is the main functionality of the remote reference layer?
What is bytecode in java ?
how we can make a write-only class in java?
How much is a java license?
Difference between current previous versions of Java?
Can an object be null?
What is the purpose of interface?
Can size_t be negative?
What is the technique adopted to create an immutable class?