A beginner-friendly Java project to learn core Java concepts from the ground up.
- Basic Java syntax (variables, data types, operators)
- Control flow (if-else, loops)
- Functions / Methods
- Object-Oriented Programming (classes, objects, inheritance, polymorphism)
- Exception handling
- Basic I/O (input & output)
- Java (JDK)
- Any IDE or text editor (e.g. IntelliJ IDEA, Eclipse, VS Code)
- Command line / Terminal
-
Clone the repository:
git clone https://github.com/debug-node/Java-from-scratch.git
-
Navigate into the project folder:
cd Java-from-scratch -
Compile and run Java files. For example:
javac Main.java java Main
Java-from-scratch/ ├─ src/ ← Java source code ├─ examples/ ← Sample programs demonstrating topics ├─ README.md ← this file
-
Try writing small Java programs using concepts learned
-
Feel free to add your own examples or exercises
-
If you find bugs or improvements, submit pull requests
- debug-node