Skip to content

About

An 18-module, 300-program Java curriculum spanning core syntax, OOP, collections, concurrency, JDBC, JVM internals, and layered projects.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Learning Modules

Project Banner

Project Type Primary Language Learning Level Main Topic Learning Approach Learning Format Runtime / Environment Framework / Library Project Year License

Project Overview

Java Learning Modules is a structured programming education repository designed to teach Java from foundational syntax to modern JVM internals and layered application design. Across 18 sequential modules and 300 numbered submodules (01_HelloWorld.java through 300_SpringBootRestAPIProject.java), learners progress through core language mechanics, object-oriented programming, collections, functional streams, file I/O, concurrency, JDBC database programming, testing, and enterprise architectural patterns. Every module directory pairs a dedicated README.md study guide with standalone single-file .java programs and captured console execution screenshots in output/, allowing each topic to be compiled and executed independently with OpenJDK 17 without external databases or build tool setup.

Learning Objectives

This curriculum is structured to build progressive Java engineering competence from basic console programs to multi-layered backend architectures. The learning outcomes below represent the intended skills supported by the repository modules and practical projects rather than formal assessment or certification:

  • Write, compile, and execute Java programs while understanding source structure, main entry points, primitive types, operators, control flow, and modular methods.
  • Design maintainable object-oriented systems using encapsulation, inheritance, polymorphism, abstraction, interfaces, composition, and java.lang.Object contracts.
  • Apply runtime safety and dynamic data structures using exception handling, try-with-resources, Java Collections Framework (List, Set, Queue, Map), Generics, Lambda expressions, and the Stream API.
  • Implement filesystem persistence, binary serialization, Java NIO.2 operations, BigDecimal financial precision, java.time date/time handling, Optional, Reflection, Records, and Sealed Classes.
  • Build concurrent and data-driven components using threads, synchronization, ReentrantLock, atomic variables, ExecutorService, CompletableFuture, JDBC PreparedStatement flows, transactions, and DAO patterns.
  • Practice software quality concepts and layered architecture through standalone simulations of JUnit-style testing, Maven/Gradle lifecycles, JVM memory concepts, SHA-256/AES cryptography, Spring-style dependency injection, and five integrated console capstone projects.

Learning Level & Approach

The repository follows a linear, module-based progression calibrated from introductory fundamentals to advanced Java platform engineering. Each module folder combines Indonesian-language practical study guides (README.md) with self-contained Java source files and verified execution captures (output/*.png), enabling self-paced, hands-on study.

Attribute Description
Learning Level Beginner to Advanced (18 progressive modules)
Learning Approach Module-Based, Practice-Driven & Self-Contained Simulations
Learning Format Module Study Guides (README.md), Standalone .java Files, Output Captures (.png)
Programming Focus Java (Core Language, OOP, Collections, Streams, Concurrency, JDBC, JVM & Layered Design)
Learning Pace Self-Paced Modular Progression

Learning Path & Curriculum

The curriculum is organized into 18 sequential modules spanning four progressive learning stages: Foundations (01–05), Intermediate Core & OOP (06–12), Advanced Platform & Systems (13–15), and Enterprise Patterns & Capstone Projects (16–18).

  1. Java Fundamentals & Control Flow (Modules 01–05): Program anatomy, primitive data types, CLI I/O, operators, conditional branching, and loops.
  2. Modularization, OOP & Functional Collections (Modules 06–12): Methods, recursion, arrays, regex, OOP fundamentals and inheritance, exceptions, JCF, Generics, Lambdas, and Streams.
  3. Filesystem I/O, Modern Standard Library & Concurrency (Modules 13–15): Streams, serialization, NIO.2, java.time, BigDecimal, Reflection, Records, Sealed Classes, multithreading, and CompletableFuture.
  4. Database Access, JVM Quality & Integrated Projects (Modules 16–18): JDBC CRUD/DAO flows, JUnit-style testing, Maven/Gradle/JVM concepts, Spring-style layered simulations, and five capstone applications.
Order Module Main Topics Materials
01 Module 01: Pengenalan Java dan Struktur Program Hello World, anatomy, comments, print/printf, identifiers, keywords, JVM compilation 1 README, 10 .java files, 10 outputs
02 Module 02: Variabel dan Tipe Data Variables, 8 primitives (byte–boolean), String, final constants, widening & narrowing casting 1 README, 14 .java files, 14 outputs
03 Module 03: Input, Output, dan Operator Scanner, BufferedReader, CLI args, arithmetic/logical/bitwise/ternary operators, Math 1 README, 14 .java files, 14 outputs
04 Module 04: Percabangan dan Pengambilan Keputusan if/else-if, nested if, switch, modern switch expressions, applied decision mini-apps 1 README, 12 .java files, 12 outputs
05 Module 05: Perulangan for, while, do-while, nested loops, break/continue, labels, enhanced for, number patterns 1 README, 14 .java files, 14 outputs
06 Module 06: Method dan Modularisasi Program Parameters, return values, overloading, varargs, scope, static vs instance, recursion, packages 1 README, 14 .java files, 14 outputs
07 Module 07: Array dan Manipulasi String 1D/2D arrays, search, sort, matrices, StringBuilder, StringBuffer, regex, StringTokenizer 1 README, 22 .java files, 22 outputs
08 Module 08: OOP Dasar Classes, objects, constructors, this, access modifiers, encapsulation, static, final, Object 1 README, 20 .java files, 20 outputs
09 Module 09: OOP Lanjutan Inheritance, super, overriding, polymorphism, abstract classes, interfaces, composition, inner classes 1 README, 20 .java files, 20 outputs
10 Module 10: Exception Handling try-catch-finally, throw/throws, checked vs unchecked, custom exceptions, try-with-resources 1 README, 16 .java files, 16 outputs
11 Module 11: Java Collections Framework List, Queue, Deque, Set, Map, Iterator, Comparable/Comparator, immutable collections 1 README, 22 .java files, 22 outputs
12 Module 12: Generics dan Functional Programming Generic classes/methods, wildcards, type erasure, Lambdas, functional interfaces, Stream API 1 README, 22 .java files, 22 outputs
13 Module 13: File Handling dan Input/Output File, buffered/byte streams, serialization, transient, NIO.2 Files, CSV, Properties, ZIP, WatchService 1 README, 18 .java files, 18 outputs
14 Module 14: Standard Library dan Fitur Bahasa Modern SecureRandom, BigInteger, BigDecimal, java.time, Optional, Enum, Reflection, Records, Sealed 1 README, 18 .java files, 18 outputs
15 Module 15: Multithreading dan Concurrency Thread, Runnable, Callable/Future, synchronized, volatile, ReentrantLock, atomics, CompletableFuture 1 README, 16 .java files, 16 outputs
16 Module 16: Database Programming dengan JDBC DriverManager, Statement, PreparedStatement, ResultSet, CRUD, transactions, batching, DAO, pooling 1 README, 14 .java files, 14 outputs
17 Module 17: Testing, Build Tools, JVM, dan Keamanan JUnit/Mockito concepts, Maven/Gradle, JAR, JavaDoc, logging, JVM GC, Java 14–17 syntax, crypto, static analysis 1 README, 22 .java files, 22 outputs
18 Module 18: Framework dan Proyek Praktik Java Spring DI, Spring Boot, REST, JPA, validation, security, MockMvc, plus 5 integrated capstone projects 1 README, 12 .java files, 12 outputs

Learning Modules & Contents

Each module folder serves as a self-contained unit with a detailed submodule guide (README.md), numbered .java source programs, and corresponding execution screenshots (output/). Representative entry, core, and milestone files are linked below for quick navigation.

Module 01 — Pengenalan Java dan Struktur Program

Module 02 — Variabel dan Tipe Data

Module 03 — Input, Output, dan Operator

Module 04 — Percabangan dan Pengambilan Keputusan

Module 05 — Perulangan

Module 06 — Method dan Modularisasi Program

Module 07 — Array dan Manipulasi String

Module 08 — OOP Dasar

Module 09 — OOP Lanjutan

Module 10 — Exception Handling

Module 11 — Java Collections Framework

Module 12 — Generics dan Functional Programming

Module 13 — File Handling dan Input/Output

Module 14 — Standard Library dan Fitur Bahasa Modern

Module 15 — Multithreading dan Concurrency

Module 16 — Database Programming dengan JDBC

Module 17 — Testing, Build Tools, JVM, dan Keamanan

Module 18 — Framework dan Proyek Praktik Java

Projects & Coding Challenges

Module 18 consolidates concepts from Modules 01 through 17 into five completed, self-contained console application implementations (296–300) stored alongside their captured execution outputs.

Project / Challenge Learning Focus Source File
Console Calculator with History Arithmetic operations, zero-division guard, calculation history log 296_CalculatorProject.java
Student Management System Student records (NIM, major, GPA), CRUD operations, GPA statistics 297_StudentManagementProject.java
Inventory Management System Warehouse stock tracking, inbound/outbound mutations, low-stock alerts, asset valuation 298_InventoryManagementProject.java
Library Management System Book catalog circulation, borrow/return state guard, overdue fine calculation 299_LibraryManagementProject.java
Layered REST API Architecture Controller, Service, Repository, Request/Response DTOs, and 404 error handling 300_SpringBootRestAPIProject.java

Programming Languages & Tech Stack

All 300 learning programs are authored in Java using standard JDK APIs and pure-Java educational simulations (for JDBC drivers, reflective JUnit-style test runners, build lifecycle models, and Spring-style IoC/REST layers) so learners can run every lesson without external dependencies.

Category Technology Purpose
Language Taught Java (JDK 17 LTS) Core language syntax, OOP, Generics, Lambdas, Records, Sealed Classes, Pattern Matching
Runtime & Compiler OpenJDK (java, javac) Single-file source execution (java File.java) and bytecode compilation
Standard APIs Java Collections, Stream API, NIO.2, java.time Dynamic data structures, functional pipelines, filesystem I/O, date/time, BigDecimal
Concurrency & System java.util.concurrent, java.lang.reflect, javax.crypto Thread pools, locks, atomics, CompletableFuture, annotations, SHA-256/AES concepts
Database API java.sql (JDBC API) + educational driver proxy Connection lifecycle, PreparedStatement, transactions, batching, DAO simulation
Documentation & Verification Markdown (README.md) & PNG captures (output/*.png) Module study guides and verified console output screenshots per submodule

Prerequisites & Setup

Running the lessons requires only a local Java Development Kit (JDK 17 or newer is recommended to support single-file source execution and modern language features such as Switch Expressions, Text Blocks, Records, and Sealed Classes). No external database server, Maven/Gradle installation, or third-party JAR dependencies are needed.

  • Required: Java Development Kit (JDK 17+), terminal (PowerShell, bash, or zsh), and git to clone the repository.
  • Optional: Any Java IDE or editor (such as VS Code with Java extensions or IntelliJ IDEA) for browsing modules and inspecting output captures.
git clone https://github.com/weztcy/Java-Learning-Modules.git
cd "Java Learning Modules"
java -version

Code Execution & Usage

Every .java file in Modules 01 through 18 is standalone and contains its own main method, so it can be run directly using Java's single-file source-code launcher or compiled manually with javac.

  1. Navigate to the target module directory:
    cd module-01-pengenalan-java-dan-struktur-program
  2. Run a submodule directly on OpenJDK 17+:
    java 01_HelloWorld.java
  3. Or compile to bytecode first and execute the generated class (replace HelloWorld with the class name declared inside the file):
    javac 01_HelloWorld.java
    java HelloWorld
  4. For advanced module demonstrations (such as JDBC, testing runners, or layered REST simulations), run the standalone file in the same way:
    cd ../module-18-framework-dan-proyek-praktik-java
    java 300_SpringBootRestAPIProject.java

Contributing

Contributions to expand explanations, refine code comments, or improve documentation clarity are welcome through standard GitHub pull requests:

  1. Fork the repository.
  2. Create a branch for the change.
  3. Add or improve learning materials, source code, exercises, or documentation.
  4. Verify code examples and links where practical.
  5. Commit and push the branch.
  6. Open a pull request with a clear explanation.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author & Contact

Yohanes Dimas Pratama

About

An 18-module, 300-program Java curriculum spanning core syntax, OOP, collections, concurrency, JDBC, JVM internals, and layered projects.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages