A collection of Java mini-projects and practice exercises exploring core concepts such as OOP, exception handling, strings, generics, lambda expressions, multithreading, and more.
This is a space where I experiment with everything from objects and generics to threads and streams. Not big apps, just lots of tiny battles with Java concepts.
Each program is designed to focus on one or two Java features, making it easier to practice in small, targeted chunks.
- β Object-Oriented Programming (classes, inheritance, polymorphism)
- β Exception Handling (custom exceptions, try-with-resources)
- β Strings, StringBuilder & StringBuffer
- β Sorting arrays and collections
- β Generics in classes and methods
- β Lambda expressions & Streams API
- β Multithreading & concurrency utilities
This repository contains multiple small Java projects that demonstrate core concepts like OOP, multithreading, exceptions, generics, lambdas, and more.
Each project is self-contained and can be run independently.
-
Clone the repo
git clone https://github.com/vivisn00b/Java-Mini-Projects.git cd Java-Mini-Projects
-
Navigate to the project folder you want to run (example: Smart Library System):
cd smartlibrarysystem
-
Compile the source code
javac -d out src/smartlibrary/*.java
-
Run the program
java -cp out smartlibrary.Main
π Each project has its own
Main.java
as the entry point. Run that file to execute the project.
Learning Java can feel overwhelming when topics are studied in isolation. This repo is my practice lab, where I implement small exercises to build real muscle memory. Instead of one big project, itβs a growing collection of concept-focused mini-projects.