when we write class.forName("any one class"); what happens
actually?what it will return?explain stepwise?
Answer Posted / ram
Class.forName () takes the class name as parameter, and
loads that class in memory. But it doesn't create any
instance of that class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is bifunction in java?
What is difference between iterator and enumeration in java?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
What is a marker interface?
What is the purpose of the finalize() method?
If an object is garbage collected, can it become reachable again?
Explain different ways of creating a thread. Which one would you prefer and why?
Can a class be private?
What is a method declaration?
Tell me how many ways are there to initialise an integer with a constant.
Explain with example the concept of constant variable in java.
Explain working of call by reference function invoking.
What is meant by object?
Can we override the static methods?
How do you sort words in java?