## π― Purpose Motorcycle-specific subclass of Vehicle. ## π οΈ Tasks - [ ] Extend `Vehicle`. - [ ] Add fields: engineCapacity, requiresHelmet. - [ ] Implement `getType()` to return "Motorcycle". ## β Acceptance Criteria - Motorcycle objects hold proper attributes. - Identified as "Motorcycle" in the system.
π― Purpose
Motorcycle-specific subclass of Vehicle.
π οΈ Tasks
Vehicle.getType()to return "Motorcycle".β Acceptance Criteria