Page 848 - AP Computer Science A, 7th edition
P. 848

10. (D) It is OK to use timsSavings and daynasChecking as parameters since each of these is-a BankAccount object. It is also OK for timsSavings and daynasChecking to call the transfer method (statements II and III), since they inherit this method from the BankAccount superclass.


































































































   846   847   848   849   850