Answer Posted / vivek katta
Class.forName will basically load a class. As part of class loading, static variables
will be initialized and static blocks present in the class will be executed.
This is the concept used in JDBC to register driver(s). A static block in the driver
class gets executed which inturn registers the JDBC driver with the connection
manager.
Is This Answer Correct ? | 66 Yes | 2 No |
Post New Answer View All Answers
Explain about RMI Architecture?
What is the difference between RMI and Corba?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
What is a session? Can you share a session object between different theads?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
What are the call back methods in entity bean?
Which javutil classes and interfaces support event handling?
What’s jboss jbpm?
What is the relationship between an event-listener interface and an event-adapter class?
Which textcomponent method is used to set a textcomponent to the read-only state?
What is chat area? Explain.
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
How task's priority is used in scheduling?
What are the different class loaders used by jvm?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?