Advertisement
Guest User

Untitled

a guest
Jul 31st, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public void buatKoneksiSesudahDBExist () throws SQLException {
  2. koneksi = DriverManager.getConnection("jdbc:mysql://localhost/siswa?user=root&password=");
  3. statement = koneksi.createStatement();
  4. }
  5.  
  6. /**
  7. * throws bisa diganti dengan try catch
  8. * /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement