This repository contains Java code samples and projects for learning purposes.
- Java JDK 17+ (or your preferred version)
- Git
-
Clone the repository:
git clone https://github.com/your-username/java-learning.git cd java-learning
-
Open in Visual Studio Code:
code .
-
Compile and run your Java files:
javac YourFile.java java YourFile
If you have test files, compile and run them using the Java compiler and runtime, or use your preferred testing framework.
- No direct commits to the
main
branch are allowed. - Each collaborator must create a new branch for their work:
git checkout -b your-feature-branch
- After making changes, push your branch and create a Pull Request (PR) to merge into
main
. - All changes must be reviewed and approved via PR before merging.
- Each collaborator should create a folder with their name under the
collaborators
directory in this repository. - Commit all files related to your learning activities inside your personal folder.
collaborators/ your-name/ your-files.java
Feel free to fork this repository