MCPcopy Create free account
hub / github.com/ShiqiYu/CPP / Person2

Class Person2

week12/examples/virtual.cpp:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14};
15
16class Person2
17{
18 public:
19 string name;
20 Person2(string n): name(n){}
21 virtual void print() = 0;
22};
23
24class Student: public Person
25{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected