Java
A comprehensive course covering Java fundamentals through object-oriented programming concepts.
This module covers Java programming from the ground up, progressing through core language features to advanced object-oriented concepts.
Getting started
- Introduction — Java evolution, features, JVM/JRE/JDK, and basic syntax.
- Data Types & Operators — Primitive and reference types, casting, and operators.
Core language
- Control Statements — Selection, iteration, and jump statements.
- Arrays — One- and two-dimensional arrays and common operations.
- Strings — String methods, immutability, and
StringBuilder.
Object-oriented programming
- OOP Introduction — The motivation for OOP and its four pillars.
- Classes & Objects — Constructors, instance methods, and
this. - Encapsulation — Access modifiers, getters/setters, and static members.
- Inheritance — Inheritance types,
super, and method overriding. - Polymorphism — Compile-time and runtime polymorphism.
- Abstraction — Abstract classes and interfaces.
Exceptions and concurrency
- Exceptions & Threading — Exception handling, thread lifecycle, and synchronization.
Prerequisites
- A Java Development Kit (JDK) installed (version 8 or later).
- A text editor or IDE (e.g., IntelliJ IDEA, VS Code, Eclipse).
How to Run Examples
Each topic has a corresponding example in the examples/ directory. Compile and run any example with:
javac ExampleName.java
java ExampleName