1.Inner class can see it as a member class.
2.Mysql connection class.Forname ("org.gjt.mm.mysql.driver"). NewInstance (); conn = java.sql.driverManager.getConnection ("JDBC: mysql: // localhost / database name", "root "," ");