Project PBO
/**************************************/ package ujian; import java.sql.Connection; import java.sql.DriverManager; import java.sql.Statement; import java.sql.SQLException; import java.util.Scanner; public class input { //tampilan insert data void input(){ //int no; String tanggal; String keterangan; int jumlah; Scanner input = new Scanner(System.in); //System.out.print("Masukkan no : "); //no = input.nextInt(); System.out.print("Masukkan tanggal : "); tanggal = input.next(); System.out.print("Masukkan keterangan : "); keterangan = input.next(); System.out.print("Masukkan jumlah : "); jumlah = input.nextInt(); { try { koneksi k = new koneksi(); String db="jdbc:mysql://localhost:3306/ujian"; Connection ko