when we write class.forName("any one class"); what happens
actually?what it will return?explain stepwise?
Answer Posted / gaurav agrawal
why are you misguiding the people, class.forName("") create
the instance of the class given as argument of the forName
().
first it will load the class in the JVM and after that it
will create the instance.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is a wrapper method?
Can we increase size of array?
List types of storage classes in java?
What does sprintf return?
What is the symbol for average?
Can keyword be used as identifier?
What is collection api?
What is final modifier?
What is use of static method?
Differentiate between a class and an object.
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT
What are JVM.JRE, J2EE, JNI?
How to handle a web browser resize operation?
What is bigger kb or mb?
What is array and arraylist in java?