This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.androiddasar | |
| import android.content.Intent | |
| import androidx.appcompat.app.AppCompatActivity | |
| import android.os.Bundle | |
| import android.widget.Button | |
| import android.widget.EditText | |
| import android.widget.RadioButton | |
| import android.widget.RadioGroup | |
| import android.widget.Toast |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $judul = "Biodata"; | |
| $biodata = array( | |
| "id"=>1, | |
| "name"=>"Alex", | |
| "age"=>20, | |
| "address"=>array( | |
| "city"=>"Jakarta", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template | |
| */ | |
| package projectsertikom; | |
| import java.sql.Connection; | |
| import java.sql.PreparedStatement; | |
| import java.sql.ResultSet; | |
| import java.sql.SQLException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template | |
| */ | |
| package projectsertikom; | |
| import java.util.List; | |
| import javax.swing.table.DefaultTableModel; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template | |
| */ | |
| package projectsertikom; | |
| import javax.swing.table.DefaultTableModel; | |
| /** | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template | |
| */ | |
| package projectsertikom; | |
| import java.sql.SQLException; | |
| import java.util.List; | |
| import javax.swing.table.DefaultTableModel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ujikom3; | |
| import java.sql.*; | |
| import javax.swing.JOptionPane; | |
| public class UserModel { | |
| Connection conn; | |
| PreparedStatement pst; | |
| ResultSet rs; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ujikom3; | |
| //import java.sql.Connection; | |
| //import java.sql.Statement; | |
| //import java.sql.ResultSet; | |
| import java.sql.*; | |
| public class Koneksi { | |
| private final String JDBC_URL ="com.mysql.cj.jdbc.Driver"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ujikom3; | |
| import java.sql.SQLException; | |
| import java.util.Scanner; | |
| public class Ujikom3 { | |
| public static void main(String[] args) throws ClassNotFoundException, SQLException { | |
| // TODO code application logic here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license | |
| * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template | |
| */ | |
| package ujikom3; | |
| import java.sql.*; | |
| /** | |
| * | |
| * @author Dimas Priyandi |