import java.sql.*;  
class demo{  
public static void main(String args[]){  
try{  
Class.forName("com.mysql.jdbc.Driver");  
Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/testdb","root","root");  
Statement st=con.createStatement();    

String query="insert into Emp values(?,?)"
PreparedStatement stmt=con.prepareStatement(query);  
stmt.setInt(1,111);
stmt.setString(2,"bhanu");  
  
stmt.executeUpdate();  
con.close();  
  
}catch(Exception e){ System.out.println(e);}  
  
}  
}  
          

Address

Plot number-56/1
Near Gurudwara
LandMark :
Opposite A.N.D college
Govindpuri Metro station
New Delhi
Mobile number:
8826034620