2 Answers
-
Classes are developed in order to bundle related data elements together, typically the different data and attributes of an object of some sort. They are organized hierarchically.
Class transportation
moves things around
under class transportation you have
class airplane
class train
class truck
class car
all of whom implement transportation as their basis and then add the details which are specific to their type.
under car you might have
class coupe
class sedan
class wagon
class suv
class shoebox (those two seater electric things)
etc.
-
yes