- Consider A Superclass Named Vehicle And A Subclass Named Car That Are Intended To Represent Those Real World Concept 1 (18.35 KiB) Viewed 19 times
Consider a Superclass named "Vehicle" and a subclass named "Car" that are intended to represent those real-world concept
-
- Site Admin
- Posts: 899603
- 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.