Answer Posted / shahin ali ansari
we know there are two type of class loading in memory first
one static loading and second one is dynamic loading,static
block load in memory before main.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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain ioc concept?
How can I avoid validating a form before data is entered?
What is a class loader? What are the different class loaders used by jvm?
how do you Handle Front End Application data against DB with example?
Are enterprise beans allowed to use thread.sleep()?
Which are the different segments of memory?
What is the purpose of the finally clause of a try-catch-finally statement?
Which containers use a border layout as their default layout?
What are transaction attributes?
What is local interface. How values will be passed?
Java is fully object oriented languages or not?
What are the different class loaders used by jvm?
Explain the difference between object state and behavior?
Are there books about seam?
How would you create a button with rounded edges?