-
Which one do you prefer between methods of loading and registering a driver ..?
we have got two methods of loading and registering a driver. i would like to know which one could be preferable class.forName(sun.jdbc.odbc.JdbcOdbcDriver) or Driver d= new Driver(sun.jdbc.odbc.JdbcOdbcDriver) Driver Manager.register Driver(d) ?
-
-
-
-
-
-
-
-
-
A Inner class is defined in a parameterized function of outer class then the inner class is able to access the parameters of that function?
Inner class can access the parameters if the parameters are final
-
-
-
-
-
-
-
-
-
-
Core Java Interview Questions
Ans