#include <iostream>
using namespace std;
class Person{
public:
void speak(){
cout << "人在说话" << endl;
}
};
class Student:public Person{
public:
void speak(){
cout << "学生在说话" << endl;
}
};
int main(){
Student student;
student.speak();
return 0;
}
让时间为你证明