This repository contains exercises and case studies from Memulai Pemrograman Dengan Java by Dicoding Academy. It is organized as a learning archive that covers Java fundamentals, object-oriented programming, standard library usage, and a practical case study.
The code in this repository is grouped by course module and topic. Each folder typically contains a small Java program or exercise that demonstrates a concept in isolation.
- Hello World program
- Basic project setup and execution
- Program structure
- Variables and data types
- Operators
- Control flow and looping
- Strings and basic syntax
- Functions and methods
- Access modifiers
- Inheritance
- OOP practice examples
- Collections
- Generics
- Input/output
- Date and time APIs
- Shape calculator / geometry case study
- Menu-driven console program
- Input handling and calculation logic
A typical module follows this pattern:
ModulXTopic/
└── TopicName/
└── src/
└── com/dicoding/javafundamental/...
Examples found in this repository include:
Modul0Introduction/HelloJavaModul1Basic/StrukturDasarModul1Basic/OperatorModul1Basic/PerulanganModul1Basic/StringModul2OOP/FunctionModul2OOP/AccessModifierModul2OOP/InheritanceModul3CommonClass/CollectionModul3CommonClass/GenericsModul3CommonClass/InputOutputJModul3CommonClass/DatetimeModul4StudiKasus/BangunDatar
Each exercise is usually a small standalone Java program.
- Open the module or exercise folder you want to study.
- Locate the
srcdirectory. - Run the
mainclass for that exercise from your IDE or build tool.
If you are using an IDE such as IntelliJ IDEA or VS Code, you can usually run the class directly from the editor.
- Java Development Kit (JDK)
- A Java-compatible IDE or terminal setup
- Basic familiarity with running Java classes
This repository is useful if you want to:
- practice Java syntax through small exercises
- understand core programming concepts step by step
- explore object-oriented programming in Java
- review Java standard library examples
- study a simple console-based case study implementation
- The repository is educational in nature.
- Some examples are intentionally minimal so the core concept is easy to focus on.
- Folder names reflect course modules and topics from the Dicoding curriculum.
If you improve examples, fix documentation, or add clearer explanations, please keep the learning-friendly structure of the repository intact.
No license has been specified yet.