How do I call public methods of the base class (the class it was inherited from, aka super class)?
I have been reading around but it has been quite unclear.
Say, for instance, I wanna call a method from my super class.
Car (extends Vehicle)
Is this the correct way to do this?Code:... void Car::Display() { string color = Vehicle::getColor(); cout << color; } ...
Because in Java, I just type super.getColor();
In C#, I type Base.getColor();