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


Please Help Members By Posting Answers For Below Questions

What is constructor chaining and how is it achieved in java?

772


What is the difference between length and length () in java?

713


What exceptions occur during serialization?

827


How to do a true java ping from windows?

797


Does constructor return any value?

770


What does you mean in math?

753


What is sorting in java?

728


What data structures are used to perform recursion?

790


What are abstract methods in java?

870


Is java programming easy?

727


Is there any tag in htm to upload and download files?

806


What is java and their uses?

747


What is callable java?

736


Does java support multiple inheritance or not?

791


How do you compare two strings lexicographically?

723