چجوری کد این سوال رو بنویسم؟

سوال

Create a class Vehicle with member  data  max _speed and member function to show information about vehicle.
Create class car which inheritance vehicle and has additional attributes which is year of production.

Create class bus which inheritance vehicle an dhas additional attributes which is number of seats

0
غزل 3 سال 0 پاسخ ها 240 دیده شده 0

ارسال یک پاسخ