How the Class.forName()method load the Database Driver and how it will act as in the Reflect package? Both the arguments are String parameter. Explain.

1) Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

2) Class c=Class.forName(args[0]);
Method m[]=c.getDeclaredMethods();
for(int i=0;i System.out.println("nn method -->> "+m[i].toString());

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions