/Java-Mastery

A hands-on Java repo to master core topics: exceptions, collections, memory, generics, and streams.

Primary LanguageJavaMIT LicenseMIT

Java Mastery

Welcome to Java Mastery, a collection of hands-on Java examples and explanations designed to deepen understanding of core and advanced Java concepts. Each topic includes:

  • 📄 Well-documented code examples
  • 📘 A dedicated markdown file with explanations
  • 🖥️ Output screenshots/logs (when applicable)

📚 Topics Covered

  • Covers try-catch, multi-catch, try-with-resources, custom exceptions, chained exceptions, and finally block.
  • Learn type safety, generic classes, methods, wildcards, and type erasure.

Upcoming Topics

These folders will be added soon, with code and markdown documentation:

  • Collections (List, Map, Set, Queue + internal working)
  • Lambdas & Functional Interfaces
  • Streams API
  • Java Memory Model (Heap, Stack, Thread memory)
  • Garbage Collection (GC algorithms, tuning, and inner working)

Motivation

This project is part of my journey to gain mastery in Java by exploring concepts in-depth with clean code examples and visual explanations.

📄 License

This project is licensed under the MIT License.