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
Write a java program to check if a number is prime or not?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
What is the range of a character variable?
How do you reverse sort a list in java?
What is the synchronized method modifier?
Can a class extend 2 classes in java?
What is the meaning of I ++ in java?
Can keyword be used as identifier?
Difference between default and protected access specifiers?
What are controls and their different types in awt?
What are drawbacks of singleton class?
How do you compare arrays in java?
What is the transient keyword?
What is difference between static class and singleton pattern?
why are there separate wait and sleep methods? : Java thread