A collection of Java programming challenges and their solutions.
This repository contains solved Java coding problems organized by topic, with a focus on:
β Text Blocks, Locales, Numbers, and Math
β Objects, Immutability, Switch Expressions, and Pattern Matching
β Working with Date and Time
β Records and Record Patterns
β Arrays, Collections, and Data Structures
β Java I/O: Context-Specific Deserialization Filters
β Foreign (Function) Memory API
β Sealed and Hidden Classes
β Functional Style Programming β Extending APIs
β Concurrency β Virtual Threads and Structured Concurrency
β Concurrency β Virtual Threads and Structured Concurrency: Diving Deeper
β Garbage Collectors and Dynamic CDS Archives
β Socket API and Simple Web Server
Milad Sadeghi
- GitHub: @miladsade96
- LinkedIn: My LinkedIn
- Email: i@miladsadeghi.tech
- Clone the repo:
git clone https://github.com/miladsade96/java-coding-problems.git
- Navigate to the project directory:
cd java-coding-problems
- Open the project in your favorite IDE (e.g., IntelliJ IDEA, Eclipse).
- Run the Java files in the
src/main/java/chapters/
directory to see the solutions in action. - Feel free to modify the code and experiment with different inputs to enhance your understanding of the concepts.