Below are some scenarios to practice different Java programming techniques or case studies of fundamental implementations.
[Run Instructions]:
This project uses Lombok for generation of POJO Getters, Setters, toString, Equals and HashCode.
The garage exercise is a standard scenario to practice the object-oriented programming techniques.
- Encapsulation
- Inheritance
- Polymorphism
- Abstraction
A system that can model the following:
- Property:
- A Garage can be included as part of a property.
- Garage:
- Can have more than one vehicle at any given time.
- Maximum capacity of 20 vehicles at any given time.
- Can be empty.
- Vehicle:
- Must be able to describe qualities.
- Must support or define the number of wheels the vehicle has.
- Must have at least 3 various concrete implementations.
- Unit test: 85%
- Integration test: Pending
- System test: Pending