| 2 | using namespace std; |
| 3 | |
| 4 | class Person |
| 5 | { |
| 6 | protected: |
| 7 | string name; |
| 8 | public: |
| 9 | Person(string name=""):name(name){}; |
| 10 | virtual ~Person(){} |
| 11 | string getInfo(){return name;} |
| 12 | }; |
| 13 | |
| 14 | class Student: public Person |
| 15 | { |
nothing calls this directly
no outgoing calls
no test coverage detected