Consider a Superclass named "Vehicle" and a subclass named "Car" that are intended to represent those real-world concept
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider a Superclass named "Vehicle" and a subclass named "Car" that are intended to represent those real-world concept
Consider a Superclass named "Vehicle" and a subclass named "Car" that are intended to represent those real-world concepts. What are some attributes and methods that you would expect to see for Vehicle and for Car? You can define your classes in Python, Pseudocode, or English - your choice.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!