Question: LicenseType Class: Data members to store: 1 . type 2 . description Default constructor; initialize type and description to be: type = 4 , description
LicenseType Class:
Data members to store:
type description
Default constructor; initialize type and description to be: type description"Private passenger vehicle";
Constructor with parameters set type and description according to the parameters. post: typet; descriptiond;
Function to set type and description according to the parameters. post: typet; descriptiond;
Functions to return type and description data members. post: type; description;
Function to output type and description in the form: type description egBuses
Note: Use the following guide table for license types and their descriptions:
w All types of motorcycles
w Construction vehicle
w Agricultural vehicle
w Private passenger vehicle
w Commercial passenger vehicle
w Minibus
w Buses
w Trailer and semitrailer
w vehicle equipped for disabled
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
