Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started