Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

plz do 8 Broyle ?1 ,n non 7. If the class Manager extends the class Employee, wh

ID: 3698866 • Letter: P

Question

plz do 8

Broyle ?1 ,n non 7. If the class Manager extends the class Employee, which class is the superclass and which is the subclass? ?? 8. If a is a variable of type BankAccount that holds a non-null reference, what do you know about the object to which a refers? 9. If a referes to a checking account, what is the effect of calling a.transfer (1000, a)? a transtel al an beroun 10. What does this code fragment print? Why is this example of polymorphism? ? Also, explain your answer. DataSet data new DataSet();

Explanation / Answer

Q8. BankAccount reference can refers to any object of its subclass. For example, it can refers CheckingAccount or SavingAccount objects.