A personal reference and playground for Java concepts I want to remember — from syntax basics to advanced patterns.
| Folder | Description |
|---|---|
| basics/ | Core language features: variables, loops, control flow |
| oop/ | Object-oriented principles — classes, interfaces, inheritance |
| collections/ | Lists, Maps, Sets, and collection utilities |
| streams/ | Java Streams API examples |
| concurrency/ | Multithreading, ExecutorService, CompletableFuture |
| functional/ | Lambdas, method references, functional interfaces |
| io/ | Input/output operations using java.io and java.nio |
| advanced/ | Generics, reflection, annotations |
| snippets/ | Miscellaneous utilities and small experiments |
| designpatterns/ | Design patterns: creational, structural, behavioral |
Each folder contains runnable examples and a notes.md file with short explanations, gotchas, and tips.
You can run examples using:
javac Basics/Variables.java && java Basics.Variables- Singleton
- Factory Method
- Builder
- Adapter
- Decorator
- Observer
- Strategy
- Command
- Facade