when we write class.forName("any one class"); what happens
actually?what it will return?explain stepwise?

Answer Posted / raviji

When we user Class.forName("any one class"); in out program
then actually we tell to JVM to load this class for
connectivity to the DB with out program.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bytecode in java ?

834


What is meant by design patterns?

788


How many bits is a char?

721


Which language is java?

744


What is a variable and constant?

762


What is hashmap in java?

798


What is an immutable object? How do you create one in java?

801


What is a pattern what is an anti pattern?

695


What java ide should I use?

751


what is recursion in java

799


What is widening and narrowing in java? Discuss with an example.

756


What do you understand by garbage collection in Java? Can it be forced to run?

751


Can we call virtual funciton in a constructor ?

1940


What does serializing data mean?

716


How java uses the string and stringbuffer classes?

731