Console-based social post system developed in Java using Object-Oriented Programming principles.
This application simulates a simple social media environment where users can:
- Create posts
- Add comments to posts
- Like posts
- View all posts and their comments
The project was built to practice OOP concepts such as composition, encapsulation, lists, and stream filtering.
- Java
- OOP (Object-Oriented Programming)
- Collections (List, ArrayList)
- Java Stream API
- Date and formatting
- StringBuilder
application
βββ Program.java
entities
βββ Post.java
βββ Comment.java
- Composition (Post β Comment)
- Encapsulation
- Menu-driven console system
- Stream filtering
- toString override
- Clean code structure
- Clone the repository
- Open in your IDE (Eclipse / IntelliJ / VSCode)
- Run
Program.java
π¨βπ» Developed as part of my Java learning journey.