Core Java Projects
A curated collection of Core Java practice projects focusing on foundational concepts like OOP, data structures, exception handling, multithreading, collections, and more.
Project Highlights
Project Name | Description |
---|---|
List entries as you add projects | Example: "Shape Calculator – calculates area/perimeter for Circle, Rectangle, Square using OOP." |
Core Java Topics Covered
- Object-Oriented Programming: Abstraction, Inheritance, Polymorphism, Encapsulation
- Collections Framework: List, Set, Map, Iterator usage
- Exception Handling:
try-catch
, custom exceptions - Multithreading:
Thread
,Runnable
, synchronization basics - File I/O: Reading from/writing to files using
java.io
- Java 8+ Features (optional): Lambdas, Streams, etc.
Repository Structure
CoreJava_Projects/
├── README.md
├── project1/
│ ├── src/
│ │ └── Main.java
│ └── README.md
├── project2/
│ └── ...
└── .gitignore
Each project should live in its own subdirectory with:
src/ folder (for .java files)
Optionally, its own README.md to describe that specific project
Getting Started
Clone this repository:
git clone https://github.com/Guru1817/CoreJava_Projects.git
Navigate into a project folder:
cd CoreJava_Projects/project1
Compile the Java source files:
javac -d bin src/*.java
Run the program:
java -cp bin Main
Future Enhancements
-Add more topics like JDBC, Generics, or Design Patterns.
-Include unit tests using JUnit for better code validation.
-Introduce build automation with Maven or Gradle.
- Add JavaDoc comments and auto-generate documentation.
- Use CI (like GitHub Actions) for automated builds and tests.
Contributing
-Contributions are welcome! To get started:
-Fork the repo
-Create a new project directory with structure above
-Implement your project
-Commit changes with clear message
-Open a Pull Request
License
-This project is available under the MIT License.
Author: Gurupada Nayak