Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void buatKoneksiSesudahDBExist () throws SQLException {
- koneksi = DriverManager.getConnection("jdbc:mysql://localhost/siswa?user=root&password=");
- statement = koneksi.createStatement();
- }
- /**
- * throws bisa diganti dengan try catch
- * /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement