#include<iostream>
using namespace std;
class Father{
public:
int getNum(){
return 1;
}
private:
int Num;
};
class Child:public Father{
public:
int getNum(){
return Num;
}
int static const Num = 10;
};
int main(){
int i=0;
int j = 0;
Father *father = new Child();
Father *father1 = new Father();
//Child *child1 =
using namespace std;
class Father{
public:
int getNum(){
return 1;
}
private:
int Num;
};
class Child:public Father{
public:
int getNum(){
return Num;
}
int static const Num = 10;
};
int main(){
int i=0;
int j = 0;
Father *father = new Child();
Father *father1 = new Father();
//Child *child1 =