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
Explain thread in java?
What is meant by anonymous class?
What is loop in java?
What is a double vs float?
How do generics work in java?
How to make a class or a bean serializable?
What is a void method java?
What is the difference between a vector & an array list?
Does A Class Inherit The Constructors Of Its Superclass?
What is polymorphism java example?
What is the benefit of using enum to declare a constant?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
Define how destructors are defined in java?
How to make a read-only class in java?
What is a method in coding?