I need to create a class called "Van". And it should also include methods and information about,
the number of seats in the van if it’s a passenger van,
or the Goods capacity in Kilo Grams, if it’s a goods van.
How to create this class?
I need to create a class called "Van". And it should also include methods and information about,
the number of seats in the van if it’s a passenger van,
or the Goods capacity in Kilo Grams, if it’s a goods van.
How to create this class?