A derived class inherits all the members of its base classes. You cannot add a member that has the same name as a member from the base class.