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
how we can create packages in java?
What is jdbc api?
What is the use of :: in java?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?
What is literal example?
What is the difference between Java1.4 and Java1.5
What is difference between static class and singleton pattern?
What is the private method modifier?
When do you call copy constructor?
Should database connections be singleton?
What is the meaning of immutable regarding string?
How many bits is a char?
How java uses the string and stringbuffer classes?
What do you know about the garbage collector?
How does compareto method work?