Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 901 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 901 Bytes

Java Learning Lab

A collection of focused Java examples for learning language fundamentals, object-oriented design, collections, streams, concurrency, and modern Java features through Java 21.

Requirements

  • JDK 21
  • Maven (or use the included Maven Wrapper)

Build

On Windows:

.\mvnw.cmd clean package

On macOS or Linux:

./mvnw clean package

Run an example

Each demo is a small Java class with its own main method. You can open a class in your IDE and run it directly. For example, after building:

java -cp target/classes com.example.example.abstractclass.AbstractClass01BasicsDemo

Browse the topic folders under src/main/java and choose a demo that interests you. Examples are intended to be read and run individually.

Repository

Browse the Java examples