import java.sql.*; public class vito { public static void main(String[] args) { Connection con; Statement st; try { Class.forName("com.mysql.jdbc.Driver"); con=DriverManager.getConnection ("jdbc:mysql://localhost:3306/test","root",""); st=con.createStatement(); st.execute("create table student(roll_no integer,name varchar(20))"); System.out.println("done"); } catch(Exception e) { System.out.println(e); } } }