java_exercises is a repository containing Java exercises. The project is designed to help you learn and practice Java concepts, syntax, and programming techniques, focusing on clarity, modularity, and best practices.
.
├── src/ # Main source code for Java exercises
├── tests/ # Unit tests (if available)
├── pom.xml # Maven dependencies and project config (if present)
├── .github/workflows/ # CI/CD pipelines (GitHub Actions, if present)
└── README.md # Project documentation
- Collection of Java programming exercises
- Modular and clean code structure
- Easy to understand and extend for learning
- Optional CI/CD integration with GitHub Actions
- Well-documented for study and experimentation
Run the exercises in minutes.
# Clone the repository
git clone https://github.com/MarSegu/java_exercises.git
cd java_exercises
# (Optional) Build the project with Maven
mvn clean install
# Run an exercise (example, adjust as needed)
java -cp src ExerciseMain
File / Variable | Description | Example |
---|---|---|
ExerciseMain.java |
Main entry point for exercises | Program execution |
pom.xml |
Required Maven dependencies (if any) | junit , etc. |
tests/ |
Test cases for Java code | JUnit supported |
Run the automated tests (if available).
mvn test
- CI/CD: Automated via workflows in
.github/workflows/
(if configured).
Output | Description |
---|---|
Program output | Console results from exercises |
Test results | Automated test results |
Contributions are welcome!
Open an issue or pull request for suggestions and improvements.
Distributed under the MIT License. See LICENSE for more details.