Skip to content

pmkimani/person-student-teacher-2023

 
 

Repository files navigation

An Example of Inheritance

Description

This example will have three classes: Person will be the base class, and two classes will be derived from it: Student and Teacher.

The first part

class Person{
private:
    string _name;
public:
    Person(const string& name);
    
    
};

More description here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.4%
  • CMake 5.6%