├── README.md ├── 53-Method Exception ├── input.txt ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── 53-Method Exception.iml └── src │ └── com │ └── tutorial │ └── Contoh.java ├── 54-Pengenalan IO Stream ├── input.txt ├── out │ ├── artifacts │ │ └── 54_Pengenalan_IO_Stream_jar │ │ │ └── input.txt │ └── production │ │ └── 54-Pengenalan IO Stream │ │ ├── input.txt │ │ └── META-INF │ │ └── MANIFEST.MF ├── src │ ├── META-INF │ │ └── MANIFEST.MF │ └── com │ │ └── tutorial │ │ └── Main.java ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ ├── artifacts │ │ └── 54_Pengenalan_IO_Stream_jar.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 54-Pengenalan IO Stream.iml ├── 59-Scanner ├── input.txt ├── input2.txt ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 59-Scanner.iml ├── 56-Character Stream ├── input.txt ├── outputByte.txt ├── outputChar.txt ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── 56-Character Stream.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 55-Byte Stream ├── input.txt ├── output.txt ├── input2.txt ├── output2.txt ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 55-Byte Stream.iml ├── 57-Buffered Byte Stream ├── input.txt ├── output.txt ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 57-Buffered Byte Stream.iml ├── 58-Buffered Char Stream ├── input.txt ├── output.txt ├── .DS_Store ├── src │ ├── .DS_Store │ └── com │ │ └── .DS_Store ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 58-Buffered Char Stream.iml ├── 62-Project CRUD - Cari Data ├── .idea │ ├── .gitignore │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── database.txt └── 62-Project CRUD - Cari Data.iml ├── 63-Project CRUD - Tambah Data ├── .idea │ ├── .gitignore │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── 63-Project CRUD - Tambah Data.iml └── database.txt ├── 64-Project CRUD - Delete Data ├── .idea │ ├── .gitignore │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── database.txt └── 64-Project CRUD - Tambah Data.iml ├── 65-Project CRUD - Update Data ├── .idea │ ├── .gitignore │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── .DS_Store ├── src │ ├── .DS_Store │ └── com │ │ └── .DS_Store ├── out │ └── production │ │ └── 65-Project CRUD - Update Data │ │ └── database.txt ├── database.txt └── 65-Project CRUD - Update Data.iml ├── 67-Project CRUD - Finalisasi ├── .idea │ ├── .gitignore │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── database.txt └── 67-Project CRUD - Finalisasi.iml ├── .DS_Store ├── 66-Access Modifier dan Multi-File ├── .idea │ ├── .gitignore │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── 66-Access Modifier dan Multi-File.iml └── src │ ├── kelasterbuka │ └── util │ │ └── Memasak.java │ └── com │ └── tutorial │ ├── Lain.java │ └── Main.java ├── 08-Variable ├── .DS_Store ├── src │ ├── .DS_Store │ └── com │ │ ├── .DS_Store │ │ └── tutorial │ │ └── Main.java ├── .idea │ ├── misc.xml │ └── modules.xml └── 08-Variable.iml ├── 23-Switch Case ├── .DS_Store ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 23-Switch Case.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 12-Operator Unary ├── .DS_Store ├── src │ ├── .DS_Store │ └── com │ │ ├── .DS_Store │ │ └── tutorial │ │ └── Main.java ├── .idea │ ├── description.html │ ├── dictionaries │ │ └── faqihza.xml │ ├── project-template.xml │ ├── modules.xml │ ├── inspectionProfiles │ │ └── Project_Default.xml │ └── misc.xml └── 12-Operator Unary.iml ├── 16-Operator Bitwise ├── .DS_Store ├── src │ ├── .DS_Store │ └── com │ │ └── .DS_Store ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml └── 16-Operator Bitwise.iml ├── 33-Looping Bersarang ├── .DS_Store ├── out │ └── .DS_Store ├── src │ ├── .DS_Store │ └── com │ │ └── .DS_Store ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml └── 33-Looping Bersarang.iml ├── 48-Pengenalan String ├── .DS_Store ├── src │ ├── .DS_Store │ └── com │ │ └── .DS_Store ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 48-Pengenalan String.iml ├── 10-Operator Aritmatika ├── .idea │ ├── description.html │ ├── project-template.xml │ ├── modules.xml │ └── misc.xml ├── 10-Operator Aritmatika.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 11-Konversi tipe data ├── .idea │ ├── description.html │ ├── project-template.xml │ ├── modules.xml │ ├── inspectionProfiles │ │ └── Project_Default.xml │ └── misc.xml ├── 11-Konversi tipe data.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 30-Latihan Loop Sederhana ├── .DS_Store ├── src │ ├── .DS_Store │ └── com │ │ ├── .DS_Store │ │ └── tutorial │ │ └── Main.java ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml └── 30-Latihan Loop Sederhana.iml ├── 04-Memahami program ├── Main.java └── OtongSurotong.java ├── 06-Printing dan alur eksekusi java ├── .DS_Store ├── .idea │ ├── misc.xml │ └── modules.xml ├── 06-Printing dan alur eksekusi java.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 44-Latihan Array ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 44-Latihan Array.iml ├── 51-Format String ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 51-Format String.iml ├── 45-Array multidimensi ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 45-Array multidimensi.iml ├── 49-Operasi String ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 49-Operasi String.iml ├── 50-String Builder ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 50-String Builder.iml ├── 52-Mengenal Exception ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 52-Mengenal Exception.iml ├── 60-Project CRUD - Main Menu ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── database.txt └── 60-Project CRUD - Main Menu.iml ├── 61-Project CRUD - Read Data ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── database.txt ├── out │ └── production │ │ └── 61-Project CRUD - Read Data │ │ └── database.txt └── 61-Project CRUD - Read Data.iml ├── 46-Array multidimensi lebih dalam ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml ├── 46-Array multidimensi lebih dalam.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 47-Latihan array 2D (Operasi Matrix) ├── .idea │ ├── encodings.xml │ ├── vcs.xml │ ├── misc.xml │ ├── modules.xml │ └── inspectionProfiles │ │ └── Project_Default.xml └── 47-Latihan array 2D (Operasi Matrix).iml ├── 20-If Statement ├── out │ └── production │ │ └── 20-If Statement │ │ └── com │ │ └── tutorial │ │ └── Main.class ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 20-If Statement.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 14-Operator Komparasi ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml └── 14-Operator Komparasi.iml ├── 15-Operator Logika ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml └── 15-Operator Logika.iml ├── 17-Latihan Aritmatika ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── out │ └── production │ │ └── 17-Latihan Aritmatika │ │ └── com │ │ └── tutorial │ │ └── Main.class ├── 17-Latihan Aritmatika.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 24-Ternary operator ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 24-Ternary operator.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 36-latihan fungsi ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 36-latihan fungsi.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 37-Fungsi recursive ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 37-Fungsi recursive.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 39-overload fungsi ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml └── 39-overload fungsi.iml ├── 40-Pengenalan Array ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 40-Pengenalan Array.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 43-Operasi pada Array ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml └── 43-Operasi pada Array.iml ├── 13-Operator Assignments ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 13-Operator Assignments.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 19-Latihan Operator Logika ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── out │ └── production │ │ └── 19-Latihan Operator Logika │ │ └── com │ │ └── tutorial │ │ └── Main.class ├── 19-Latihan Operator Logika.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 21-If else if statement ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 21-If else if statement.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 31-Latihan Deret Fibonacci ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 31-Latihan Deret Fibonacci.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 38-recursive bercabang ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 38-recursive bercabang.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 05-Organisasi Program dengan Package ├── program dengan metode manual │ └── src │ │ ├── com │ │ └── ucup │ │ │ └── Main.java │ │ └── programku │ │ └── OtongSurotong.java └── program dengan IDE │ ├── src │ └── com │ │ └── ucup │ │ └── Main.java │ ├── .idea │ ├── misc.xml │ └── modules.xml │ └── program dengan IDE.iml ├── 22-If bersarang (nested if) ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 22-If bersarang (nested if).iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 25-Latihan Kalkulator Sederhana ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml └── 25-Latihan Kalkulator Sederhana.iml ├── 32-Break, Continue, dan return ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 32-Break, Continue, dan return.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 35-fungsi void tanpa return ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 35-fungsi void tanpa return.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 42-Mengenal Array lebih dalam ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 42-Mengenal Array lebih dalam.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 18-Latihan urutan operasi aritmatika ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── out │ └── production │ │ └── 18-Latihan urutan operasi aritmatika │ │ └── com │ │ └── tutorial │ │ └── Main.class ├── 18-Latihan urutan operasi aritmatika.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 34-fungsi atau method (pengenalan) ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 34-fungsi atau method (pengenalan).iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 41-Looping Array dengan For Each ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 41-Looping Array dengan For Each.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 26-Latihan kalkulator dengan switch case ├── .idea │ ├── vcs.xml │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 26-Latihan kalkulator dengan switch case.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── .gitignore ├── 29-For Loop ├── .idea │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 29-For Loop.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 27-While Loop ├── .idea │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 27-While Loop.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 28-Do While Loop ├── .idea │ ├── inspectionProfiles │ │ └── profiles_settings.xml │ ├── modules.xml │ └── misc.xml ├── 28-Do While Loop.iml └── src │ └── com │ └── tutorial │ └── Main.java ├── 07-Memahami String[] args ├── src │ └── com │ │ └── tutorial │ │ └── Main.java ├── .idea │ ├── misc.xml │ └── modules.xml └── 07-Memahami String[] args.iml └── 09-Tipe Data Primitive ├── .idea ├── misc.xml └── modules.xml └── 09-Tipe Data Primitive.iml /README.md: -------------------------------------------------------------------------------- 1 | JAVA_dasar_programming 2 | -------------------------------------------------------------------------------- /53-Method Exception/input.txt: -------------------------------------------------------------------------------- 1 | itong sudah mandi -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/input.txt: -------------------------------------------------------------------------------- 1 | Ucup Surucup -------------------------------------------------------------------------------- /59-Scanner/input.txt: -------------------------------------------------------------------------------- 1 | pisang goreng itu enak bro -------------------------------------------------------------------------------- /56-Character Stream/input.txt: -------------------------------------------------------------------------------- 1 | ナルト adalah pahlawankuuuw -------------------------------------------------------------------------------- /55-Byte Stream/input.txt: -------------------------------------------------------------------------------- 1 | ini adalah contoh dari byte stream -------------------------------------------------------------------------------- /56-Character Stream/outputByte.txt: -------------------------------------------------------------------------------- 1 | ナルト adalah pahlawankuuuw -------------------------------------------------------------------------------- /56-Character Stream/outputChar.txt: -------------------------------------------------------------------------------- 1 | ナルト adalah pahlawankuuuw -------------------------------------------------------------------------------- /55-Byte Stream/output.txt: -------------------------------------------------------------------------------- 1 | ini adalah contoh dari byte stream -------------------------------------------------------------------------------- /55-Byte Stream/input2.txt: -------------------------------------------------------------------------------- 1 | Otong surotong kartamiharja yang termahsyur -------------------------------------------------------------------------------- /55-Byte Stream/output2.txt: -------------------------------------------------------------------------------- 1 | Otong surotong kartamiharja yang termahsyur -------------------------------------------------------------------------------- /57-Buffered Byte Stream/input.txt: -------------------------------------------------------------------------------- 1 | saya adalah Otong Mantap sang penakluk -------------------------------------------------------------------------------- /57-Buffered Byte Stream/output.txt: -------------------------------------------------------------------------------- 1 | saya adalah Otong Mantap sang penakluk -------------------------------------------------------------------------------- /59-Scanner/input2.txt: -------------------------------------------------------------------------------- 1 | bakwan,udang,itu,the,best 2 | pisang,goreng,disebut,lagi -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/out/artifacts/54_Pengenalan_IO_Stream_jar/input.txt: -------------------------------------------------------------------------------- 1 | Otoi -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/out/production/54-Pengenalan IO Stream/input.txt: -------------------------------------------------------------------------------- 1 | Ucup surucup -------------------------------------------------------------------------------- /58-Buffered Char Stream/input.txt: -------------------------------------------------------------------------------- 1 | pisang goreng sangat enak 2 | bakwan juga sangat enak -------------------------------------------------------------------------------- /58-Buffered Char Stream/output.txt: -------------------------------------------------------------------------------- 1 | pisang goreng sangat enak 2 | bakwan juga sangat enak -------------------------------------------------------------------------------- /62-Project CRUD - Cari Data/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /63-Project CRUD - Tambah Data/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /64-Project CRUD - Delete Data/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /67-Project CRUD - Finalisasi/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/.DS_Store -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml -------------------------------------------------------------------------------- /08-Variable/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/08-Variable/.DS_Store -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/src/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Main-Class: com.tutorial.Main 3 | 4 | -------------------------------------------------------------------------------- /08-Variable/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/08-Variable/src/.DS_Store -------------------------------------------------------------------------------- /23-Switch Case/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/23-Switch Case/.DS_Store -------------------------------------------------------------------------------- /12-Operator Unary/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/12-Operator Unary/.DS_Store -------------------------------------------------------------------------------- /08-Variable/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/08-Variable/src/com/.DS_Store -------------------------------------------------------------------------------- /12-Operator Unary/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/12-Operator Unary/src/.DS_Store -------------------------------------------------------------------------------- /16-Operator Bitwise/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/16-Operator Bitwise/.DS_Store -------------------------------------------------------------------------------- /33-Looping Bersarang/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/33-Looping Bersarang/.DS_Store -------------------------------------------------------------------------------- /48-Pengenalan String/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/48-Pengenalan String/.DS_Store -------------------------------------------------------------------------------- /12-Operator Unary/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /16-Operator Bitwise/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/16-Operator Bitwise/src/.DS_Store -------------------------------------------------------------------------------- /58-Buffered Char Stream/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/58-Buffered Char Stream/.DS_Store -------------------------------------------------------------------------------- /10-Operator Aritmatika/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /11-Konversi tipe data/.idea/description.html: -------------------------------------------------------------------------------- 1 | Simple Java application that includes a class with main() method -------------------------------------------------------------------------------- /12-Operator Unary/.idea/dictionaries/faqihza.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /12-Operator Unary/.idea/project-template.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /12-Operator Unary/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/12-Operator Unary/src/com/.DS_Store -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/30-Latihan Loop Sederhana/.DS_Store -------------------------------------------------------------------------------- /33-Looping Bersarang/out/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/33-Looping Bersarang/out/.DS_Store -------------------------------------------------------------------------------- /33-Looping Bersarang/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/33-Looping Bersarang/src/.DS_Store -------------------------------------------------------------------------------- /48-Pengenalan String/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/48-Pengenalan String/src/.DS_Store -------------------------------------------------------------------------------- /10-Operator Aritmatika/.idea/project-template.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /11-Konversi tipe data/.idea/project-template.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /16-Operator Bitwise/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/16-Operator Bitwise/src/com/.DS_Store -------------------------------------------------------------------------------- /33-Looping Bersarang/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/33-Looping Bersarang/src/com/.DS_Store -------------------------------------------------------------------------------- /48-Pengenalan String/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/48-Pengenalan String/src/com/.DS_Store -------------------------------------------------------------------------------- /58-Buffered Char Stream/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/58-Buffered Char Stream/src/.DS_Store -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/30-Latihan Loop Sederhana/src/.DS_Store -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/out/production/54-Pengenalan IO Stream/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Main-Class: com.tutorial.Main 3 | 4 | -------------------------------------------------------------------------------- /58-Buffered Char Stream/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/58-Buffered Char Stream/src/com/.DS_Store -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/65-Project CRUD - Update Data/.DS_Store -------------------------------------------------------------------------------- /04-Memahami program/Main.java: -------------------------------------------------------------------------------- 1 | public class Main{ 2 | 3 | public static void main(String[] args){ 4 | System.out.println("hello world"); 5 | } 6 | } -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/30-Latihan Loop Sederhana/src/com/.DS_Store -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/65-Project CRUD - Update Data/src/.DS_Store -------------------------------------------------------------------------------- /06-Printing dan alur eksekusi java/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/06-Printing dan alur eksekusi java/.DS_Store -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/src/com/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/65-Project CRUD - Update Data/src/com/.DS_Store -------------------------------------------------------------------------------- /59-Scanner/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /44-Latihan Array/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /51-Format String/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /55-Byte Stream/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /45-Array multidimensi/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /48-Pengenalan String/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /49-Operasi String/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /50-String Builder/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /52-Mengenal Exception/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /53-Method Exception/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /56-Character Stream/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /57-Buffered Byte Stream/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /58-Buffered Char Stream/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /60-Project CRUD - Main Menu/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /61-Project CRUD - Read Data/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /62-Project CRUD - Cari Data/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /63-Project CRUD - Tambah Data/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /64-Project CRUD - Delete Data/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/out/production/65-Project CRUD - Update Data/database.txt: -------------------------------------------------------------------------------- 1 | Mario_2017_1,2017,Mario,gramedia,menari 2 | Otong_2025_2,2025,Otong,gramedia,biografi terbaik abad ini 3 | -------------------------------------------------------------------------------- /67-Project CRUD - Finalisasi/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /46-Array multidimensi lebih dalam/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /47-Latihan array 2D (Operasi Matrix)/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /04-Memahami program/OtongSurotong.java: -------------------------------------------------------------------------------- 1 | public class OtongSurotong { 2 | 3 | public static void main(String[] args){ 4 | 5 | System.out.print("Nama ku adalah Otong, teman si ucup"); 6 | 7 | } 8 | } -------------------------------------------------------------------------------- /20-If Statement/out/production/20-If Statement/com/tutorial/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/20-If Statement/out/production/20-If Statement/com/tutorial/Main.class -------------------------------------------------------------------------------- /59-Scanner/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /20-If Statement/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /23-Switch Case/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /44-Latihan Array/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /51-Format String/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /55-Byte Stream/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /14-Operator Komparasi/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /15-Operator Logika/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /16-Operator Bitwise/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /17-Latihan Aritmatika/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /17-Latihan Aritmatika/out/production/17-Latihan Aritmatika/com/tutorial/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/17-Latihan Aritmatika/out/production/17-Latihan Aritmatika/com/tutorial/Main.class -------------------------------------------------------------------------------- /24-Ternary operator/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /33-Looping Bersarang/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /36-latihan fungsi/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /37-Fungsi recursive/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /39-overload fungsi/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /40-Pengenalan Array/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /43-Operasi pada Array/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /45-Array multidimensi/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /48-Pengenalan String/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /49-Operasi String/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /50-String Builder/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /52-Mengenal Exception/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /53-Method Exception/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /56-Character Stream/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /13-Operator Assignments/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /19-Latihan Operator Logika/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /21-If else if statement/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /31-Latihan Deret Fibonacci/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /38-recursive bercabang/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /57-Buffered Byte Stream/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /58-Buffered Char Stream/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /05-Organisasi Program dengan Package/program dengan metode manual/src/com/ucup/Main.java: -------------------------------------------------------------------------------- 1 | package com.ucup; 2 | 3 | public class Main{ 4 | 5 | public static void main(String[] args){ 6 | System.out.println("hello world"); 7 | } 8 | } -------------------------------------------------------------------------------- /22-If bersarang (nested if)/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /25-Latihan Kalkulator Sederhana/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /32-Break, Continue, dan return/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /35-fungsi void tanpa return/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /42-Mengenal Array lebih dalam/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /60-Project CRUD - Main Menu/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /61-Project CRUD - Read Data/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /62-Project CRUD - Cari Data/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /63-Project CRUD - Tambah Data/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /64-Project CRUD - Delete Data/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /67-Project CRUD - Finalisasi/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /05-Organisasi Program dengan Package/program dengan IDE/src/com/ucup/Main.java: -------------------------------------------------------------------------------- 1 | package com.ucup; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args){ 6 | System.out.println("hello world"); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /18-Latihan urutan operasi aritmatika/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /34-fungsi atau method (pengenalan)/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /41-Looping Array dengan For Each/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /46-Array multidimensi lebih dalam/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /47-Latihan array 2D (Operasi Matrix)/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /19-Latihan Operator Logika/out/production/19-Latihan Operator Logika/com/tutorial/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/19-Latihan Operator Logika/out/production/19-Latihan Operator Logika/com/tutorial/Main.class -------------------------------------------------------------------------------- /26-Latihan kalkulator dengan switch case/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Mobile Tools for Java (J2ME) 4 | .mtj.tmp/ 5 | 6 | # Package Files # 7 | *.jar 8 | *.war 9 | *.ear 10 | 11 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 12 | hs_err_pid* 13 | -------------------------------------------------------------------------------- /29-For Loop/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /20-If Statement/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /23-Switch Case/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /27-While Loop/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /28-Do While Loop/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /14-Operator Komparasi/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /15-Operator Logika/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /16-Operator Bitwise/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /17-Latihan Aritmatika/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /24-Ternary operator/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /33-Looping Bersarang/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /36-latihan fungsi/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /37-Fungsi recursive/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /39-overload fungsi/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /40-Pengenalan Array/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /43-Operasi pada Array/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /13-Operator Assignments/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /19-Latihan Operator Logika/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /21-If else if statement/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /31-Latihan Deret Fibonacci/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /38-recursive bercabang/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /18-Latihan urutan operasi aritmatika/out/production/18-Latihan urutan operasi aritmatika/com/tutorial/Main.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kelasterbuka/JAVA_dasar_programming/HEAD/18-Latihan urutan operasi aritmatika/out/production/18-Latihan urutan operasi aritmatika/com/tutorial/Main.class -------------------------------------------------------------------------------- /22-If bersarang (nested if)/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /25-Latihan Kalkulator Sederhana/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /32-Break, Continue, dan return/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /35-fungsi void tanpa return/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /42-Mengenal Array lebih dalam/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /18-Latihan urutan operasi aritmatika/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /34-fungsi atau method (pengenalan)/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /41-Looping Array dengan For Each/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /26-Latihan kalkulator dengan switch case/.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /05-Organisasi Program dengan Package/program dengan metode manual/src/programku/OtongSurotong.java: -------------------------------------------------------------------------------- 1 | package programku; 2 | 3 | 4 | public class OtongSurotong { 5 | 6 | public static void main(String[] args){ 7 | 8 | System.out.print("Nama ku adalah Otong, teman si ucup"); 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /07-Memahami String[] args/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args){ 6 | System.out.println("hallo " + args[0] + " ganteng"); 7 | System.out.println("hallo " + args[1] + " Manise"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /08-Variable/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /59-Scanner/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /59-Scanner/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /08-Variable/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /29-For Loop/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /44-Latihan Array/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /49-Operasi String/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /50-String Builder/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /51-Format String/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /55-Byte Stream/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /09-Tipe Data Primitive/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /23-Switch Case/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /27-While Loop/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /45-Array multidimensi/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /48-Pengenalan String/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /52-Mengenal Exception/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /53-Method Exception/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /55-Byte Stream/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /56-Character Stream/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /07-Memahami String[] args/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /20-If Statement/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /57-Buffered Byte Stream/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /58-Buffered Char Stream/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /60-Project CRUD - Main Menu/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /61-Project CRUD - Read Data/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /62-Project CRUD - Cari Data/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /12-Operator Unary/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /28-Do While Loop/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /36-latihan fungsi/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /44-Latihan Array/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /49-Operasi String/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /50-String Builder/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /51-Format String/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /63-Project CRUD - Tambah Data/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /64-Project CRUD - Delete Data/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /67-Project CRUD - Finalisasi/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /06-Printing dan alur eksekusi java/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /15-Operator Logika/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /16-Operator Bitwise/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /24-Ternary operator/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /37-Fungsi recursive/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /39-overload fungsi/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /40-Pengenalan Array/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /46-Array multidimensi lebih dalam/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /47-Latihan array 2D (Operasi Matrix)/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /53-Method Exception/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /56-Character Stream/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /33-Looping Bersarang/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /48-Pengenalan String/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /09-Tipe Data Primitive/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /10-Operator Aritmatika/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /11-Konversi tipe data/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /14-Operator Komparasi/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /17-Latihan Aritmatika/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /38-recursive bercabang/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /43-Operasi pada Array/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /45-Array multidimensi/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /52-Mengenal Exception/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /13-Operator Assignments/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /21-If else if statement/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /57-Buffered Byte Stream/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /58-Buffered Char Stream/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /07-Memahami String[] args/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /05-Organisasi Program dengan Package/program dengan IDE/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /19-Latihan Operator Logika/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /22-If bersarang (nested if)/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /31-Latihan Deret Fibonacci/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /35-fungsi void tanpa return/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /60-Project CRUD - Main Menu/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /61-Project CRUD - Read Data/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /62-Project CRUD - Cari Data/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /42-Mengenal Array lebih dalam/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /63-Project CRUD - Tambah Data/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /64-Project CRUD - Delete Data/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /67-Project CRUD - Finalisasi/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /32-Break, Continue, dan return/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /25-Latihan Kalkulator Sederhana/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /41-Looping Array dengan For Each/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /05-Organisasi Program dengan Package/program dengan IDE/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /06-Printing dan alur eksekusi java/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /34-fungsi atau method (pengenalan)/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /46-Array multidimensi lebih dalam/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /60-Project CRUD - Main Menu/database.txt: -------------------------------------------------------------------------------- 1 | fiersabesari_2012_1,2012,fiersa besari,media kita,jejak langkah 2 | PramoedyaAnantatoer_2001_1,2001,Pramoedya Anantatoer,Gramedia,Bumi Manusia 3 | purcell_2009_1,2009,purcell,wiley,calculus 4 | faqihza_2019_1,2019,faqihza,gramedia,belajar C++ 5 | faqihza_2019_2,2019,faqihza,gramedia,belajar python 6 | faqihza_2019_3,2019,faqihza,gramedia,belajar Java -------------------------------------------------------------------------------- /18-Latihan urutan operasi aritmatika/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /47-Latihan array 2D (Operasi Matrix)/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /26-Latihan kalkulator dengan switch case/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /29-For Loop/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /20-If Statement/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /23-Switch Case/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /27-While Loop/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /28-Do While Loop/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /36-latihan fungsi/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /14-Operator Komparasi/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /15-Operator Logika/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /16-Operator Bitwise/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /17-Latihan Aritmatika/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /24-Ternary operator/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /33-Looping Bersarang/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /37-Fungsi recursive/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /38-recursive bercabang/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /39-overload fungsi/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /40-Pengenalan Array/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /43-Operasi pada Array/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /13-Operator Assignments/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /19-Latihan Operator Logika/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /21-If else if statement/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /22-If bersarang (nested if)/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /31-Latihan Deret Fibonacci/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /35-fungsi void tanpa return/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /25-Latihan Kalkulator Sederhana/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /32-Break, Continue, dan return/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /41-Looping Array dengan For Each/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /42-Mengenal Array lebih dalam/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /18-Latihan urutan operasi aritmatika/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /34-fungsi atau method (pengenalan)/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/.idea/artifacts/54_Pengenalan_IO_Stream_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | $PROJECT_DIR$/out/artifacts/54_Pengenalan_IO_Stream_jar 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /26-Latihan kalkulator dengan switch case/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /61-Project CRUD - Read Data/database.txt: -------------------------------------------------------------------------------- 1 | fiersabesari_2012_1,2012,fiersa besari,media kita,jejak langkah 2 | PramoedyaAnantatoer_2001_1,2001,Pramoedya Anantatoer,Gramedia,Bumi Manusia 3 | purcell_2009_1,2009,purcell,wiley,calculus 4 | faqihza_2019_1,2019,faqihza,gramedia,belajar C++ 5 | faqihza_2019_2,2019,faqihza,gramedia,belajar python 6 | faqihza_2019_3,2019,faqihza,gramedia,belajar Java 7 | ucup_2020_1,2020,Ucup Surucup,kompas,Cara sukses mencari belut di sawah -------------------------------------------------------------------------------- /62-Project CRUD - Cari Data/database.txt: -------------------------------------------------------------------------------- 1 | fiersabesari_2012_1,2012,fiersa besari,media kita,jejak langkah 2 | PramoedyaAnantatoer_2001_1,2001,Pramoedya Anantatoer,Gramedia,Bumi Manusia 3 | purcell_2009_1,2009,purcell,wiley,calculus 4 | faqihza_2019_1,2019,faqihza,gramedia,belajar C++ 5 | faqihza_2019_2,2019,faqihza,gramedia,belajar python 6 | faqihza_2019_3,2019,faqihza,gramedia,belajar Java 7 | ucup_2020_1,2020,Ucup Surucup,kompas,Cara sukses mencari belut di sawah -------------------------------------------------------------------------------- /08-Variable/08-Variable.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /29-For Loop/29-For Loop.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /59-Scanner/59-Scanner.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /23-Switch Case/23-Switch Case.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /27-While Loop/27-While Loop.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /55-Byte Stream/55-Byte Stream.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /20-If Statement/20-If Statement.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /28-Do While Loop/28-Do While Loop.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /36-latihan fungsi/36-latihan fungsi.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /44-Latihan Array/44-Latihan Array.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /49-Operasi String/49-Operasi String.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /50-String Builder/50-String Builder.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /51-Format String/51-Format String.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /61-Project CRUD - Read Data/out/production/61-Project CRUD - Read Data/database.txt: -------------------------------------------------------------------------------- 1 | fiersabesari_2012_1,2012,fiersa besari,media kita,jejak langkah 2 | PramoedyaAnantatoer_2001_1,2001,Pramoedya Anantatoer,Gramedia,Bumi Manusia 3 | purcell_2009_1,2009,purcell,wiley,calculus 4 | faqihza_2019_1,2019,faqihza,gramedia,belajar C++ 5 | faqihza_2019_2,2019,faqihza,gramedia,belajar python 6 | faqihza_2019_3,2019,faqihza,gramedia,belajar Java 7 | ucup_2020_1,2020,Ucup Surucup,kompas,Cara sukses mencari belut di sawah -------------------------------------------------------------------------------- /15-Operator Logika/15-Operator Logika.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /16-Operator Bitwise/16-Operator Bitwise.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /24-Ternary operator/24-Ternary operator.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /37-Fungsi recursive/37-Fungsi recursive.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /39-overload fungsi/39-overload fungsi.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /40-Pengenalan Array/40-Pengenalan Array.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /53-Method Exception/53-Method Exception.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /56-Character Stream/56-Character Stream.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /09-Tipe Data Primitive/09-Tipe Data Primitive.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /14-Operator Komparasi/14-Operator Komparasi.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /17-Latihan Aritmatika/17-Latihan Aritmatika.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /33-Looping Bersarang/33-Looping Bersarang.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /38-recursive bercabang/38-recursive bercabang.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /43-Operasi pada Array/43-Operasi pada Array.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /45-Array multidimensi/45-Array multidimensi.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /48-Pengenalan String/48-Pengenalan String.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /52-Mengenal Exception/52-Mengenal Exception.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /12-Operator Unary/12-Operator Unary.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /13-Operator Assignments/13-Operator Assignments.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /21-If else if statement/21-If else if statement.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/54-Pengenalan IO Stream.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /57-Buffered Byte Stream/57-Buffered Byte Stream.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /58-Buffered Char Stream/58-Buffered Char Stream.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /64-Project CRUD - Delete Data/database.txt: -------------------------------------------------------------------------------- 1 | fiersabesari_2012_1,2012,fiersa besari,media kita,jejak langkah 2 | PramoedyaAnantatoer_2001_1,2001,Pramoedya Anantatoer,Gramedia,Bumi Manusia 3 | purcell_2009_1,2009,purcell,wiley,calculus 4 | faqihza_2019_1,2019,faqihza,gramedia,belajar C++ 5 | faqihza_2019_2,2019,faqihza,gramedia,belajar python 6 | faqihza_2019_3,2019,faqihza,gramedia,belajar Java 7 | faqihza_2020_1,2020,faqihza,kelas terbuka,membagi waktu belajar 8 | faqihza_2019_4,2019,faqihza,gramedia,belajar berlari 9 | -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/database.txt: -------------------------------------------------------------------------------- 1 | fiersabesari_2012_1,2012,fiersa besari,media kita,jejak langkah 2 | PramoedyaAnantatoer_2001_1,2001,Pramoedya Anantatoer,Gramedia,Bumi Manusia 3 | purcell_2009_1,2009,purcell,wiley,calculus 4 | faqihza_2015_1,2015,faqihza,elexmedia,belajar C++ 5 | faqihza_2019_2,2019,faqihza,gramedia,belajar python 6 | faqihza_2019_3,2019,faqihza,gramedia,belajar Java 7 | faqihza_2020_1,2020,faqihza,kelas terbuka,membagi waktu belajar 8 | faqihza_2019_4,2019,faqihza,gramedia,belajar berlari 9 | -------------------------------------------------------------------------------- /67-Project CRUD - Finalisasi/database.txt: -------------------------------------------------------------------------------- 1 | fiersabesari_2012_1,2012,fiersa besari,media kita,jejak langkah 2 | PramoedyaAnantatoer_2001_1,2001,Pramoedya Anantatoer,Gramedia,Bumi Manusia 3 | purcell_2009_1,2009,purcell,wiley,calculus 4 | faqihza_2015_1,2015,faqihza,elexmedia,belajar C++ 5 | faqihza_2019_2,2019,faqihza,gramedia,belajar python 6 | faqihza_2019_3,2019,faqihza,gramedia,belajar Java 7 | faqihza_2020_1,2020,faqihza,kelas terbuka,membagi waktu belajar 8 | faqihza_2019_4,2019,faqihza,gramedia,belajar berlari 9 | -------------------------------------------------------------------------------- /07-Memahami String[] args/07-Memahami String[] args.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /11-Konversi tipe data/11-Konversi tipe data.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /19-Latihan Operator Logika/19-Latihan Operator Logika.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /22-If bersarang (nested if)/22-If bersarang (nested if).iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/30-Latihan Loop Sederhana.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /31-Latihan Deret Fibonacci/31-Latihan Deret Fibonacci.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /35-fungsi void tanpa return/35-fungsi void tanpa return.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /60-Project CRUD - Main Menu/60-Project CRUD - Main Menu.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /61-Project CRUD - Read Data/61-Project CRUD - Read Data.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /62-Project CRUD - Cari Data/62-Project CRUD - Cari Data.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /10-Operator Aritmatika/10-Operator Aritmatika.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /42-Mengenal Array lebih dalam/42-Mengenal Array lebih dalam.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /63-Project CRUD - Tambah Data/63-Project CRUD - Tambah Data.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /64-Project CRUD - Delete Data/64-Project CRUD - Tambah Data.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/65-Project CRUD - Update Data.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /67-Project CRUD - Finalisasi/67-Project CRUD - Finalisasi.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /25-Latihan Kalkulator Sederhana/25-Latihan Kalkulator Sederhana.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /32-Break, Continue, dan return/32-Break, Continue, dan return.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /41-Looping Array dengan For Each/41-Looping Array dengan For Each.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /53-Method Exception/src/com/tutorial/Contoh.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.io.FileInputStream; 4 | import java.io.FileNotFoundException; 5 | import java.io.IOException; 6 | 7 | 8 | public class Contoh { 9 | 10 | public static void main(String[] args) throws IOException { 11 | 12 | FileInputStream inputFile = new FileInputStream("input2.txt"); 13 | 14 | System.out.println((char)inputFile.read()); 15 | 16 | System.out.println("akhir dari program"); 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /06-Printing dan alur eksekusi java/06-Printing dan alur eksekusi java.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /34-fungsi atau method (pengenalan)/34-fungsi atau method (pengenalan).iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /46-Array multidimensi lebih dalam/46-Array multidimensi lebih dalam.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /55-Byte Stream/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /59-Scanner/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/66-Access Modifier dan Multi-File.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /12-Operator Unary/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /18-Latihan urutan operasi aritmatika/18-Latihan urutan operasi aritmatika.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /44-Latihan Array/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /47-Latihan array 2D (Operasi Matrix)/47-Latihan array 2D (Operasi Matrix).iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /49-Operasi String/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /50-String Builder/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /51-Format String/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /53-Method Exception/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /56-Character Stream/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /11-Konversi tipe data/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /45-Array multidimensi/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /48-Pengenalan String/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /52-Mengenal Exception/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /57-Buffered Byte Stream/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /58-Buffered Char Stream/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /05-Organisasi Program dengan Package/program dengan IDE/program dengan IDE.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /26-Latihan kalkulator dengan switch case/26-Latihan kalkulator dengan switch case.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /60-Project CRUD - Main Menu/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /61-Project CRUD - Read Data/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /62-Project CRUD - Cari Data/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /63-Project CRUD - Tambah Data/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /64-Project CRUD - Delete Data/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /65-Project CRUD - Update Data/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /67-Project CRUD - Finalisasi/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /11-Konversi tipe data/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /12-Operator Unary/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /46-Array multidimensi lebih dalam/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /10-Operator Aritmatika/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /47-Latihan array 2D (Operasi Matrix)/.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | -------------------------------------------------------------------------------- /08-Variable/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args){ 6 | 7 | // kita akan membuat variabel 8 | // tipe data 9 | int a = 10; // assignment 10 | System.out.println("nilai a = " + a); 11 | 12 | a = 20; 13 | System.out.println("nilai a baru = " + a); 14 | 15 | // kita akan membuat sebuah deklarasi 16 | int b; // deklarasi 17 | 18 | b = 7; 19 | 20 | System.out.println("nilai b = " + b); 21 | 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /20-If Statement/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | 6 | public static void main (String[] args){ 7 | 8 | // tutorial untuk if statement atau percabangan 9 | 10 | int a = 5; 11 | 12 | System.out.println("nilai = " + a); 13 | 14 | // ini adalah cabangnya 15 | 16 | if (a == 10){ 17 | 18 | System.out.println("ini adalah jalur true"); 19 | 20 | } else { 21 | 22 | System.out.println("ini adalah jalur false"); 23 | 24 | } 25 | 26 | 27 | System.out.println("selesai"); 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/src/kelasterbuka/util/Memasak.java: -------------------------------------------------------------------------------- 1 | package kelasterbuka.util; 2 | 3 | public class Memasak { 4 | 5 | public static void dagingPublic(){ 6 | System.out.println("Kelas terbuka: Memasak: public"); 7 | } 8 | 9 | private static void dagingPrivate(){ 10 | System.out.println("Kelas terbuka: Memasak: private"); 11 | } 12 | 13 | static void dagingDefault(){ 14 | System.out.println("Kelas terbuka: Memasak: default"); 15 | } 16 | 17 | protected static void dagingProtected(){ 18 | System.out.println("Kelas terbuka: Memasak: protected"); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /63-Project CRUD - Tambah Data/database.txt: -------------------------------------------------------------------------------- 1 | fiersabesari_2012_1,2012,fiersa besari,media kita,jejak langkah 2 | PramoedyaAnantatoer_2001_1,2001,Pramoedya Anantatoer,Gramedia,Bumi Manusia 3 | purcell_2009_1,2009,purcell,wiley,calculus 4 | faqihza_2019_1,2019,faqihza,gramedia,belajar C++ 5 | faqihza_2019_2,2019,faqihza,gramedia,belajar python 6 | faqihza_2019_3,2019,faqihza,gramedia,belajar Java 7 | ucup_2020_1,2020,Ucup Surucup,kompas,Cara sukses mencari belut di sawah 8 | faqihza_2020_1,2020,faqihza,kelas terbuka,membagi waktu belajar 9 | otong_3000_1,3000,otong,kelas tertutup,si keren otong 10 | faqihza_2019_4,2019,faqihza,gramedia,belajar berlari 11 | -------------------------------------------------------------------------------- /27-While Loop/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main (String[] args){ 6 | 7 | 8 | // while (kondisi) { 9 | // aksi 10 | // } 11 | 12 | int a = 0; 13 | boolean kondisi = true; 14 | 15 | System.out.println("awal program"); 16 | 17 | while (kondisi) { 18 | System.out.println("while loop ke-" + a); 19 | 20 | if (a == 10){ 21 | kondisi = false; 22 | } 23 | 24 | a++; 25 | } 26 | 27 | System.out.println("akhir program"); 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /28-Do While Loop/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | 6 | public static void main (String[] args){ 7 | 8 | 9 | // do { 10 | // aksi 11 | // } while (kondisi); 12 | 13 | 14 | System.out.println("ini adalah awal program"); 15 | 16 | int a = 0; 17 | boolean kondisi = true; 18 | 19 | 20 | do { 21 | a++; 22 | System.out.println("do while ke-" + a); 23 | 24 | if (a == 1) { 25 | kondisi = false; 26 | } 27 | 28 | }while(kondisi); 29 | 30 | System.out.println("ini adalah akhir program"); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /54-Pengenalan IO Stream/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.io.FileInputStream; 4 | import java.io.IOException; 5 | 6 | public class Main { 7 | 8 | public static void main(String[] args) throws IOException { 9 | 10 | // try { 11 | // FileInputStream fileInput = new FileInputStream("input.txt"); 12 | // } catch (Exception e){ 13 | // System.err.println(e); 14 | // } 15 | 16 | FileInputStream fileInput = new FileInputStream("input.txt"); 17 | 18 | System.out.println((char)fileInput.read()); 19 | System.out.println((char)fileInput.read()); 20 | System.out.println((char)fileInput.read()); 21 | System.out.println((char)fileInput.read()); 22 | 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /31-Latihan Deret Fibonacci/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | 4 | import java.util.*; 5 | 6 | public class Main { 7 | 8 | public static void main (String[] args){ 9 | 10 | 11 | // menghitung nilai deret fibonacci ke-n 12 | int f_n, f_n_1, f_n_2, n; 13 | 14 | Scanner inputUser = new Scanner(System.in); 15 | System.out.print("mengambil nilai fibonacci ke - :"); 16 | n = inputUser.nextInt(); 17 | 18 | f_n_2 = 0; 19 | f_n_1 = 1; 20 | f_n = 1; 21 | 22 | for(int i = 1; i <= n; i++){ 23 | System.out.println("nilai ke - "+ i + " adalah " + f_n); 24 | f_n = f_n_1 + f_n_2; 25 | f_n_2 = f_n_1; 26 | f_n_1 = f_n; 27 | } 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /21-If else if statement/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main (String[] args){ 6 | 7 | // tutorialif else if statement 8 | 9 | int a = 5; 10 | 11 | System.out.println("ini adalah awal program"); 12 | 13 | // if else if statement 14 | 15 | if (a == 5){ 16 | 17 | System.out.println("ini adalah aksi 1"); 18 | 19 | } else if (a == 10) { 20 | 21 | System.out.println("ini adalah aksi 2"); 22 | 23 | } else { 24 | 25 | System.out.println("ini adalah aksi default"); 26 | 27 | } 28 | 29 | // akhir dari if else if statement 30 | 31 | System.out.println("ini adalah akhir program"); 32 | 33 | 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /24-Ternary operator/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.*; 4 | 5 | public class Main { 6 | 7 | public static void main (String[] args){ 8 | 9 | 10 | // ternary operator 11 | 12 | int input, x; 13 | 14 | Scanner inputUser = new Scanner(System.in); 15 | 16 | System.out.print("masukan nilai: "); 17 | input = inputUser.nextInt(); 18 | 19 | // variable x = ekspresi ? statement_true : statement_false 20 | 21 | x = (input == 10) ? (input*input) : (input/2); 22 | 23 | // jika memakai if 24 | // if (input==10){ 25 | // x = input*input; 26 | // }else{ 27 | // x = input/2; 28 | // } 29 | 30 | System.out.println("hasilnya " + x); 31 | 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /32-Break, Continue, dan return/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main (String[] args){ 6 | 7 | // break, continue, dan return 8 | 9 | int a = 0; 10 | 11 | while(true){ 12 | a++; 13 | 14 | if(a == 10){ 15 | break; 16 | // ini adalah keyword untuk memaksa keluar dari loop 17 | } else if(a == 5){ 18 | continue; 19 | // ini adalah keyword untuk memaksa memulai aksi dari awal 20 | } else if (a == 7){ 21 | return; 22 | } 23 | 24 | System.out.println("looping ke - " + a); 25 | 26 | } 27 | 28 | System.out.println("akhir dari looping"); 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /22-If bersarang (nested if)/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args){ 6 | 7 | 8 | // nested if atau if bersarang 9 | 10 | int a = 2; 11 | int b = 10; 12 | 13 | System.out.println("ini adalah awal dari program"); 14 | 15 | if (a == 5){ 16 | 17 | if (b == 10){ 18 | 19 | System.out.println("ini adalah dimana a = 5 dan b = 10"); 20 | 21 | } else { 22 | 23 | System.out.println("ini adalah dimana a = 5 dan b bukan 10"); 24 | 25 | } 26 | 27 | } else { 28 | 29 | System.out.println("ini adalah dimana a salah"); 30 | 31 | } 32 | 33 | System.out.println("ini adalah akhir dari program"); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/src/com/tutorial/Lain.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Lain { 4 | 5 | // bagian ini dapat diakses oleh siapa pun 6 | public static void methodPublic(){ 7 | System.out.println("Lain:public"); 8 | } 9 | 10 | // ini hanya dapat diakses oleh class yang bersangkutan 11 | private static void methodPrivate(){ 12 | System.out.println("Lain:private"); 13 | } 14 | 15 | // ini hanya dapat diakses oleh class dalam package yang sama 16 | static void methodDefault(){ 17 | System.out.println("Lain:default"); 18 | } 19 | 20 | // ini hanya dapat diaccess oleh class dalam package yang sama 21 | // dan subclassnya. 22 | protected static void methodProtected(){ 23 | System.out.println("Lain:protected"); 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /34-fungsi atau method (pengenalan)/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | public static void main (String[] args){ 5 | 6 | // y = (x + 2) * x 7 | 8 | int y,x; 9 | x = 5; 10 | y = hitung(x); 11 | 12 | System.out.println("x = " + x + ", y = " + y); 13 | 14 | x = 20; 15 | y = hitung(x); 16 | System.out.println("x = " + x + ", y = " + y); 17 | 18 | x = 40; 19 | y = hitung(x); 20 | System.out.println("x = " + x + ", y = " + y); 21 | 22 | } 23 | 24 | public static int hitung(int input){ 25 | int hasil; 26 | 27 | // hasil = (input + 2) * input; 28 | hasil = input * input; 29 | 30 | return hasil; 31 | } 32 | } 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /35-fungsi void tanpa return/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main (String[] args){ 6 | 7 | // void itu artinya hampa 8 | 9 | System.out.println(simpel()); 10 | 11 | fungsiVoid("apa pun"); 12 | selamatPagi("emak"); 13 | selamatPagi("abah"); 14 | 15 | } 16 | 17 | private static void selamatPagi(String nama){ 18 | System.out.println("selamat pagi " + nama); 19 | } 20 | 21 | 22 | // fungsi atau method tanpa kembalian 23 | private static void fungsiVoid(String input){ 24 | System.out.println(input); 25 | } 26 | 27 | // fungsi atau method dengan kembalian 28 | // sehingga menggunakan return untuk 29 | // mengembalikan nilainya (10.0f) 30 | private static float simpel(){ 31 | return 10.0f; 32 | } 33 | } -------------------------------------------------------------------------------- /30-Latihan Loop Sederhana/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.*; 4 | 5 | public class Main { 6 | 7 | public static void main (String[] args){ 8 | 9 | // program untuk menjumlahkan angka dengan rentang 10 | 11 | int nilaiAwal, nilaiAkhir, total; 12 | 13 | Scanner inputUser = new Scanner(System.in); 14 | System.out.print("masukan nilai awal = "); 15 | nilaiAwal = inputUser.nextInt(); 16 | System.out.print("masukan nilai akhir = "); 17 | nilaiAkhir = inputUser.nextInt(); 18 | 19 | 20 | total = 0; 21 | 22 | while(nilaiAwal <= nilaiAkhir){ 23 | total = total + nilaiAwal; 24 | System.out.println("ditambah " + nilaiAwal + " menjadi " + total); 25 | nilaiAwal++; 26 | } 27 | 28 | // tugas -> for loop, do while... 29 | 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /06-Printing dan alur eksekusi java/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args){ 6 | 7 | System.out.println("hello teman-teman"); 8 | System.out.println("baris ke-2 : hai juga akang pukis"); 9 | 10 | System.out.print("baris ke-3 : ini adalah baris ketiga"); 11 | System.out.print("baris ke-4 : saya meneruskan baris ketiga"); 12 | 13 | System.out.print("baris ke-5 : hallo mahmuy???"); 14 | System.out.println("baris ke-6 : hallo juga hobloh!!!"); 15 | 16 | System.out.print("baris ke-7 : hai bro, mari kita kongkow \n"); 17 | System.out.print("baris ke-8 : kongkow kemana bro? \n"); 18 | System.out.print("baris ke-9 : mari kita kongkow ke citamiang!!!\n"); 19 | 20 | System.out.printf("wiro sableng naga geni %d", 212); 21 | 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /38-recursive bercabang/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.*; 4 | import java.lang.String; 5 | 6 | public class Main { 7 | 8 | public static void main (String[] args){ 9 | 10 | Scanner userInput = new Scanner(System.in); 11 | System.out.print("masukan nilai n = "); 12 | int nilai = userInput.nextInt(); 13 | int nilai_fibonacci = fibonacci(nilai, "atas"); 14 | System.out.println("nilai fibonacci ke-"+ nilai +" adalah " + nilai_fibonacci); 15 | } 16 | 17 | 18 | private static int fibonacci(int n, String daun){ 19 | System.out.println("daun " + daun); 20 | System.out.println("Fibonacci ke - " + n); 21 | if (n == 1 || n == 0){ 22 | return n; 23 | } 24 | else { 25 | return fibonacci(n - 1, "kiri") + fibonacci(n - 2, "kanan"); 26 | } 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /66-Access Modifier dan Multi-File/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import kelasterbuka.util.Memasak; 4 | 5 | public class Main { 6 | public static void main(String[] args) { 7 | // public, private, default, dan protected 8 | 9 | // dengan access modifier public, dapat diakses 10 | Lain.methodPublic(); 11 | 12 | // dengan access modifier private, tidak dapat diakses 13 | //Lain.methodPrivate(); 14 | 15 | // karena ada dalam package yang sama, maka dapat diakses 16 | Lain.methodDefault(); 17 | 18 | // karena ada dalam package yang sama, maka dapat diakses 19 | Lain.methodProtected(); 20 | 21 | 22 | Memasak.dagingPublic(); 23 | // Memasak.dagingPrivate(); tidak bisa 24 | // Memasak.dagingDefault(); tidak bisa 25 | // Memasak.dagingProtected(); tidak bisa 26 | 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /13-Operator Assignments/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args){ 6 | 7 | // Operator assignment 8 | 9 | // Assignment operator jumlah 10 | int a = 1; 11 | a += 10; // a = a + 10; 12 | System.out.println("nilai a = " + a); 13 | 14 | // Assignment operator pengurangan 15 | int b = 100; 16 | b -= 25; 17 | System.out.println("nilai b = " + b); 18 | 19 | // Assignment operator perkalian 20 | int c = 100; 21 | c *= 20; 22 | System.out.println("nilai c = " + c); 23 | 24 | // Assignment operator pembagian 25 | int d = 100; 26 | d /= 20; 27 | System.out.println("nilai d = " + d); 28 | 29 | // Assignment operator modulus 30 | int e = 10; 31 | e %= 7; 32 | System.out.println("nilai e = " + e); 33 | 34 | 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /17-Latihan Aritmatika/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.Scanner; 4 | 5 | public class Main { 6 | 7 | public static void main(String[] args){ 8 | 9 | Scanner userInput = new Scanner(System.in); 10 | int panjang, lebar, luas, tinggi, volume; 11 | // Membuat perhitungan menghitung luas persegi panjang 12 | // luas = panjang * lebar 13 | 14 | System.out.println("MENGHITUNG LUAS"); 15 | System.out.print("panjang = "); 16 | panjang = userInput.nextInt(); 17 | System.out.print("lebar = "); 18 | lebar = userInput.nextInt(); 19 | 20 | luas = panjang * lebar; 21 | System.out.println("Luas = " + luas); 22 | 23 | System.out.println("MENGHITUNG VOLUME"); 24 | System.out.print("tinggi = "); 25 | tinggi = userInput.nextInt(); 26 | volume = luas*tinggi; 27 | System.out.println("volume = "+ volume); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /23-Switch Case/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.*; 4 | 5 | public class Main { 6 | 7 | // switch case 8 | 9 | public static void main(String[] args){ 10 | 11 | String input; 12 | Scanner inputUser = new Scanner(System.in); 13 | 14 | System.out.print("panggil nama: "); 15 | input = inputUser.next(); 16 | 17 | // ekspresinya berupa satuan (int,long,byte,short), String, atau enum 18 | switch(input){ 19 | case "otong": 20 | System.out.println("saya otong dan hadir Bos!!!"); 21 | break; 22 | case "ucup": 23 | System.out.println("saya ucup dan hadir Bos!!!!"); 24 | break; 25 | case "mario": 26 | System.out.println("saya mario dan hadir Bos!!!!"); 27 | break; 28 | default: 29 | System.out.println(input + " tidak hadir Bos!!!"); 30 | } 31 | 32 | System.out.println("selesai program"); 33 | 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /11-Konversi tipe data/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args) { 6 | 7 | // program untuk konversi data 8 | 9 | int nilaiInt = 450; //32-bit 10 | System.out.println("nilai int = " + nilaiInt); 11 | 12 | // Memperluas rentang ke tipe data yang lebih besar 13 | long nilaiLong = nilaiInt; 14 | System.out.println("nilai long = " + nilaiLong); 15 | 16 | // Memperkecil rentang ke tipe data yang lebih kecil 17 | byte nilaiByte = (byte) nilaiInt; 18 | System.out.println("nilai byte = " + nilaiByte); 19 | System.out.println("nilai max byte = " + Byte.MAX_VALUE); 20 | System.out.println("nilai min byte = " + Byte.MIN_VALUE); 21 | 22 | // casting pembagian 23 | int a = 10; 24 | float b = 4; 25 | 26 | float c = a/b; 27 | 28 | System.out.printf("%d / %f = %f\n",a,b,c); 29 | 30 | int x = 10; 31 | int y = 4; 32 | 33 | float z = (float)x / y; 34 | System.out.printf("%d / %d = %f \n",x,y,z); 35 | 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /41-Looping Array dengan For Each/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.Arrays; 4 | 5 | public class Main { 6 | 7 | public static void main(String[] args){ 8 | 9 | int[] arrayAngka = {11,12,13,14,15,16,17,18,19,20}; 10 | 11 | 12 | // looping standard 13 | System.out.println("looping standard"); 14 | for(int i = 0; i < 10; i++){ 15 | System.out.println("index ke-"+i+" adalah = " + arrayAngka[i]); 16 | } 17 | 18 | // looping dengan properti array 19 | System.out.println("looping dengan properti length"); 20 | for(int i = 0; i < arrayAngka.length; i++){ 21 | System.out.println("index ke-"+i+" adalah = " + arrayAngka[i]); 22 | } 23 | 24 | // looping khususon untuk collection <- array 25 | System.out.println("looping for each"); 26 | for( int angka : arrayAngka){ 27 | System.out.println("angka pada looping ini = " + angka); 28 | } 29 | 30 | 31 | } 32 | } 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /46-Array multidimensi lebih dalam/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.Arrays; 4 | 5 | public class Main { 6 | 7 | public static void main(String[] args) { 8 | 9 | int[][] array_2D = { 10 | {1,2,3}, 11 | {4,5}, 12 | }; 13 | 14 | System.out.println(array_2D); 15 | System.out.println(Arrays.toString(array_2D)); 16 | System.out.println(array_2D[0]); 17 | System.out.println(array_2D[1]); 18 | 19 | System.out.println(Arrays.deepToString(array_2D)); 20 | System.out.print("\n"); 21 | 22 | char[] array_char1 = {'a','b','c'}; 23 | char[] array_char2 = {'d','e'}; 24 | 25 | char[][] arrayChar_2D = { 26 | array_char1, 27 | array_char2, 28 | }; 29 | 30 | System.out.println(arrayChar_2D); 31 | System.out.println(Integer.toHexString(System.identityHashCode(array_char1))); 32 | System.out.println(Integer.toHexString(System.identityHashCode(array_char2))); 33 | System.out.println(Arrays.toString(arrayChar_2D)); 34 | System.out.println(Arrays.deepToString(arrayChar_2D)); 35 | 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /10-Operator Aritmatika/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args) { 6 | 7 | // Operasi Aritmatika 8 | 9 | int variable1 = 10; 10 | int variable2 = 5; 11 | 12 | int hasil; 13 | 14 | // 1. penjumlahan 15 | 16 | hasil = variable1 + variable2; 17 | System.out.println(variable1 + " + " + variable2 + " = " + hasil); 18 | 19 | // 2. pengurangan 20 | hasil = variable1 - variable2; 21 | System.out.printf("%d - %d = %d \n",variable1,variable2,hasil); 22 | 23 | // 3. perkalian 24 | hasil = variable1 * variable2; 25 | System.out.printf("%d x %d = %d \n",variable1,variable2,hasil); 26 | 27 | // 4. pembagian 28 | hasil = variable1 / variable2; 29 | System.out.printf("%d / %d = %d \n",variable1,variable2,hasil); 30 | 31 | float a = 6; 32 | float b = 5; 33 | float hasilFloat = a/b; 34 | System.out.println(a + " / " + b + " = " + hasilFloat); 35 | 36 | // 5. modulus (sisa pembagian) 37 | hasil = variable1 % variable2; 38 | System.out.printf("%d %% %d = %d \n",variable1,variable2,hasil); 39 | 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /12-Operator Unary/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args) { 6 | 7 | // unary = operasi yang dilakukan pada satu variable 8 | 9 | // unary + dan - 10 | int angka = 1; 11 | System.out.printf("unary '+', %d menjadi %d\n",angka, +angka); 12 | System.out.printf("unary '-', %d menjadi %d\n",angka, -angka); 13 | 14 | // unary decrement dan increment 15 | int angka2 = 10; 16 | angka2++; 17 | System.out.println("nilai dengan '++' menjadi = " + angka2); 18 | 19 | int angka3 = 10; 20 | angka3--; 21 | System.out.println("nilai dengan '--' menjadi = " + angka3); 22 | 23 | int a = 5; 24 | System.out.printf("nilai dengan '++' prefix menjadi = %d \n", ++a); 25 | int b = 5; 26 | System.out.printf("nilai dengan '++' postfix menjadi = %d \n", b++); 27 | System.out.printf("nilai hasil dari postfix menjadi = %d \n", b); 28 | 29 | // unary boolean dengan ! untuk negasi 30 | 31 | boolean ucup = true; 32 | System.out.println("nilai boolean = " + ucup); 33 | System.out.println("nilai boolean = " + !ucup); 34 | } 35 | } 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /29-For Loop/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | public class Main { 4 | 5 | public static void main (String[] args){ 6 | 7 | // for (inisialisasi; kondisi; step nilai){ 8 | // 9 | // aksi; 10 | // 11 | // } 12 | 13 | 14 | System.out.println("ini adalah awal program"); 15 | 16 | System.out.println("loop pertama"); 17 | 18 | for(int nilai = 0; nilai <= 10 ; nilai++){ 19 | 20 | System.out.println("for loop ke-" + nilai); 21 | 22 | } 23 | 24 | 25 | System.out.println("loop kedua"); 26 | 27 | for(int nilai = 0; nilai < 10 ; nilai++){ 28 | 29 | System.out.println("for loop ke-" + nilai); 30 | 31 | } 32 | 33 | System.out.println("loop ketiga"); 34 | 35 | for(int nilai = 10; nilai >= 5 ; nilai--){ 36 | 37 | System.out.println("for loop ke-" + nilai); 38 | 39 | } 40 | 41 | System.out.println("loop keempat"); 42 | 43 | int nilai = 0; 44 | 45 | for(; nilai < 10 ;){ 46 | 47 | System.out.println("for loop ke-" + nilai); 48 | nilai++; 49 | } 50 | 51 | System.out.println("ini adalah akhir program"); 52 | 53 | } 54 | } 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /40-Pengenalan Array/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.Arrays; 4 | 5 | public class Main { 6 | 7 | public static void main (String[] args){ 8 | // assignment 9 | // tipedata [] nama = {komponen-komponen} 10 | 11 | System.out.println("assignment Array"); 12 | 13 | // index = 0 1 2 3 14 | // | | | | 15 | int[] arrayInteger = {1,2,3,4}; 16 | 17 | arrayInteger[0] = 11; 18 | 19 | System.out.println(arrayInteger[0]); 20 | System.out.println(arrayInteger[1]); 21 | System.out.println(arrayInteger[2]); 22 | System.out.println(arrayInteger[3]); 23 | 24 | // Deklarasi 25 | // tipedata[] nama = new int[jumlahArray]; 26 | 27 | System.out.println("Deklarasi Array"); 28 | float[] arrayFloat = new float[5]; 29 | 30 | arrayFloat[3] = 11.5f; 31 | 32 | System.out.println(arrayFloat[0]); 33 | System.out.println(arrayFloat[1]); 34 | System.out.println(arrayFloat[2]); 35 | System.out.println(arrayFloat[3]); 36 | System.out.println(arrayFloat[4]); 37 | 38 | System.out.println(Arrays.toString(arrayInteger)); 39 | System.out.println(Arrays.toString(arrayFloat)); 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /19-Latihan Operator Logika/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | 4 | import java.util.*; 5 | 6 | public class Main { 7 | 8 | public static void main(String[] args){ 9 | 10 | // membuat sebuah objek untuk menangkap input dari user 11 | Scanner inputUser = new Scanner(System.in); 12 | 13 | // sebuah program sederhana untuk menebak sebuah angka 14 | int nilaiBenar = 6; 15 | int nilaiTebakan; 16 | boolean statusTebakan; 17 | 18 | System.out.print("masukan nilai tebakan anda: "); 19 | nilaiTebakan = inputUser.nextInt(); 20 | System.out.println("nilai tebakan anda adalah: " + nilaiTebakan); 21 | 22 | // operasi logika 23 | statusTebakan = (nilaiTebakan == nilaiBenar); 24 | System.out.println("tebakan anda: " + statusTebakan); 25 | 26 | // operasi aljabar boolean (and / or) 27 | 28 | System.out.print("masukan nilai diantara 4 dan 9: "); 29 | nilaiTebakan = inputUser.nextInt(); 30 | 31 | statusTebakan = (nilaiTebakan > 4) && (nilaiTebakan < 9); 32 | 33 | /* 34 | a | b | c 35 | 0 0 0 36 | 0 1 0 37 | 1 0 0 38 | 1 1 1 39 | */ 40 | 41 | System.out.println("tebakan anda: " + statusTebakan); 42 | 43 | 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /18-Latihan urutan operasi aritmatika/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.Scanner; 4 | 5 | public class Main { 6 | 7 | public static void main(String[] args){ 8 | 9 | // kesimpulannya adalah 10 | // perkalian atau pembagian akan dilakukan terlebih 11 | // dahulu 12 | 13 | // jika dilakukan perkalian dan pembagian, maka 14 | // akan dilakukan operasinya dari kiri ke kanan 15 | 16 | int hasil = 5 * 10 / 2; 17 | System.out.println(hasil); 18 | hasil = 5 + 2 - 10; 19 | System.out.println(hasil); 20 | 21 | // menggunakan pengelompokan operasi dengan ( ) 22 | hasil = 60 / (2 + 10); 23 | System.out.println(hasil); 24 | 25 | Scanner userInput = new Scanner(System.in); 26 | // perhitungan persamaan kuadrat 27 | System.out.println("MENGHITUNG PERSAMAAN KUDRAT"); 28 | int m,x,c; 29 | 30 | System.out.print("nilai x = "); 31 | x = userInput.nextInt(); 32 | System.out.print("gradient m = "); 33 | m = userInput.nextInt(); 34 | System.out.print("bias c = "); 35 | c = userInput.nextInt(); 36 | int y = (m * x * x) + c; 37 | 38 | System.out.println("nilai y = " + y); 39 | 40 | } 41 | } 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /42-Mengenal Array lebih dalam/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.Arrays; 4 | 5 | public class Main { 6 | 7 | public static void main (String[] args){ 8 | 9 | int[] arrayAngka1 = {1,2,3,4,5}; 10 | int[] arrayAngka2 = new int[5]; 11 | 12 | System.out.println(arrayAngka1); 13 | System.out.println(arrayAngka2); 14 | 15 | arrayAngka2 = arrayAngka1; 16 | 17 | System.out.println(arrayAngka1); 18 | System.out.println(arrayAngka2); 19 | 20 | System.out.println("array 1 -> " + Arrays.toString(arrayAngka1)); 21 | System.out.println("array 2 -> " + Arrays.toString(arrayAngka2)); 22 | 23 | arrayAngka1[0] = 100; 24 | arrayAngka2[4] = 400; 25 | System.out.println("array 1 -> " + Arrays.toString(arrayAngka1)); 26 | System.out.println("array 2 -> " + Arrays.toString(arrayAngka2)); 27 | 28 | 29 | ubahArray(arrayAngka1); 30 | System.out.println("array 1 -> " + Arrays.toString(arrayAngka1)); 31 | System.out.println("array 2 -> " + Arrays.toString(arrayAngka2)); 32 | } 33 | // method yang argumentnya adalah reference, pass by reference 34 | // bukan pass by value 35 | 36 | private static void ubahArray(int[] dataArray){ 37 | dataArray[0] = 125; 38 | } 39 | } 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /56-Character Stream/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.io.*; 4 | 5 | public class Main { 6 | 7 | public static void main(String[] args) throws IOException { 8 | 9 | // Membuka File 10 | 11 | // byte stream -> FileInputStream 12 | // Character stream -> FileReader 13 | 14 | FileInputStream byteFileInput = new FileInputStream("input.txt"); 15 | FileReader charFileInput = new FileReader("input.txt"); 16 | 17 | FileOutputStream byteFileOutput = new FileOutputStream("outputByte.txt"); 18 | FileWriter charFileOutput = new FileWriter("outputChar.txt"); 19 | 20 | // Membaca File 21 | 22 | // byte file 23 | int buffer = byteFileInput.read(); 24 | 25 | while(buffer != -1){ 26 | System.out.print((char)buffer); 27 | byteFileOutput.write(buffer); 28 | buffer = byteFileInput.read(); 29 | } 30 | 31 | System.out.println("\n"); 32 | // char file 33 | buffer = charFileInput.read(); 34 | 35 | while(buffer != -1){ 36 | System.out.print((char)buffer); 37 | charFileOutput.write(buffer); 38 | buffer = charFileInput.read(); 39 | } 40 | 41 | // Menutup File 42 | 43 | byteFileInput.close(); 44 | charFileInput.close(); 45 | byteFileOutput.close(); 46 | charFileOutput.close(); 47 | 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /26-Latihan kalkulator dengan switch case/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.*; 4 | 5 | public class Main { 6 | 7 | public static void main (String[] args){ 8 | 9 | Scanner inputUser; 10 | float a,b,hasil; 11 | String operator; 12 | 13 | inputUser = new Scanner(System.in); 14 | 15 | System.out.print("nilai a = "); 16 | a = inputUser.nextFloat(); 17 | System.out.print("operator = "); 18 | operator = inputUser.next(); 19 | System.out.print("nilai b = "); 20 | b = inputUser.nextFloat(); 21 | 22 | switch(operator){ 23 | case "+": 24 | //penjumlahan 25 | hasil = a + b; 26 | System.out.println("Hasil = " + hasil); 27 | break; 28 | case "-": 29 | //pengurangan 30 | hasil = a - b; 31 | System.out.println("Hasil = " + hasil); 32 | break; 33 | case "*": 34 | //perkalian 35 | hasil = a * b; 36 | System.out.println("Hasil = " + hasil); 37 | break; 38 | case "/": 39 | //pembagian 40 | hasil = a / b; 41 | System.out.println("Hasil = " + hasil); 42 | break; 43 | default: 44 | System.out.println("operator" + operator + "tidak ditemukan"); 45 | } 46 | 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /36-latihan fungsi/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.*; 4 | 5 | public class Main { 6 | 7 | public static void main(String[] args){ 8 | 9 | Scanner userInput = new Scanner(System.in); 10 | 11 | System.out.print("panjang = "); 12 | int inputPanjang = userInput.nextInt(); 13 | System.out.print("lebar = "); 14 | int inputLebar = userInput.nextInt(); 15 | 16 | gambar(inputPanjang,inputLebar); 17 | 18 | System.out.println("luas = " + luas(inputPanjang,inputLebar)); 19 | System.out.println("keliling = " + keliling(inputPanjang,inputLebar)); 20 | 21 | tampilkanKelilingDanLuas(inputPanjang,inputLebar); 22 | } 23 | 24 | private static void tampilkanKelilingDanLuas(int panjang,int lebar){ 25 | System.out.println("luas = " + luas(panjang,lebar)); 26 | System.out.println("keliling = " + keliling(panjang,lebar)); 27 | } 28 | 29 | private static int keliling(int panjang, int lebar){ 30 | int hasil = (panjang + lebar) * 2; 31 | return hasil; 32 | } 33 | 34 | private static int luas(int panjang, int lebar){ 35 | int hasil = panjang*lebar; 36 | return hasil; 37 | } 38 | 39 | private static void gambar(int panjang, int lebar){ 40 | for(int i = 0; i < lebar; i++){ 41 | for(int j = 0; j < panjang; j++){ 42 | System.out.print("* "); 43 | } 44 | System.out.print("\n"); 45 | } 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /37-Fungsi recursive/src/com/tutorial/Main.java: -------------------------------------------------------------------------------- 1 | package com.tutorial; 2 | 3 | import java.util.*; 4 | 5 | public class Main { 6 | 7 | public static void main (String[] args){ 8 | 9 | Scanner userInput = new Scanner(System.in); 10 | System.out.print("masukan nilai:"); 11 | int nilai = userInput.nextInt(); 12 | System.out.println("anda memasukan nilai = " + nilai); 13 | 14 | 15 | printNilai(nilai); 16 | int jumlah = jumlahNilai(nilai); 17 | System.out.println("jumlah = " + jumlah); 18 | 19 | int faktorial = hitungFaktorial(nilai); 20 | System.out.println("hasil faktorial = " + faktorial); 21 | } 22 | // fungsi rekursif sederhana 23 | 24 | private static int hitungFaktorial(int parameter){ 25 | System.out.println("parameter = " + parameter); 26 | 27 | if (parameter == 1){ 28 | return parameter; 29 | } 30 | 31 | return parameter * hitungFaktorial(parameter - 1); 32 | 33 | } 34 | 35 | private static int jumlahNilai(int parameter){ 36 | System.out.println("parameter = " + parameter); 37 | 38 | if (parameter == 0){ 39 | return parameter; 40 | } 41 | 42 | return parameter + jumlahNilai(parameter - 1); 43 | 44 | } 45 | 46 | private static void printNilai (int parameter){ 47 | System.out.println("nilai = " + parameter); 48 | 49 | if (parameter == 0){ 50 | return; 51 | } 52 | 53 | parameter--; 54 | 55 | printNilai(parameter); 56 | } 57 | } 58 | --------------------------------------------------------------------------------