whats is mean by class.forName()
whats the return type of class

Answer Posted / shic kumar

class.forName() is used to load the class at run time that
is also called dynamic loading
this mehod is also used to load the driver for database
connectivity like
class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
here this method is used for loadig jdbcodbc driver

Is This Answer Correct ?    16 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you give me a simple example of using the requiredif validator rule?

603


If your ui seems to freeze periodically, what might be a likely reason?

545


Have you used threads in Servelet?

1932


Is the ternary operator written x : y ? Z or x ? Y : z ?

637


What you mean by COM and DCOM?

613






Describe activation process?

2062


Why is string immutable in java?

578


What is the relationship between an event-listener interface and an event-adapter class?

554


Write a singleton program?

570


What are the pros and cons of detached objects?

549


What are the different methods of identifying an object?

573


When a thread blocks on i/o, what state does it enter?

572


What is the difference between the session.get() method and the session.load() method?

600


What is the difference between system.out ,system.err and system.in?

596


How would you create a button with rounded edges?

560