Answer:
Person p1, p2, p3;
int m1, m2, m3;
p1 = new Person();
// assignment 1
m1 = p1.getMoney();
p2 = new Student();
// assignment 2
m2 = p2.getMoney();
p3 = new Employee();
// assignment 3
m3 = p3.getMoney();
//////////////////////////////////////////////////////////////////////////////////////////////
The reference to getMoney in assignment 3 is to the Person class.
Step-by-step explanation:
Since Employee class didn't override Person class's getMoney() method, calling p3 with getMoney() will call Base class's (Person) getMoney() method.