23 Bicycle(std::string model, std::string color);
53 void info()
const override;
std::string getModel() const
Return the model of the bike.
void setColor(std::string color)
Set the color of the bike.
std::string getColor() const
Return the color of the bike.
~Bicycle() override
Destructor.
void info() const override
Display info on model and color of the bike.
A PassengerRoadVehicle transports one or more passengers.
Bicycle & operator=(const Bicycle &rhs)
Copy assignment.
Represents a simple Bicycle.
Header for PassengerRoadVehicle class.
Bicycle()
Default constructor.
void setModel(std::string model)
Set the model of the bike.