previous
|
start
|
next
Answers
We want to use the method for all kinds of bank accounts. Had we used a parameter of type
SavingsAccount
, we couldn't have called the method with a
CheckingAccount
object.
We cannot invoke the
deposit
method on a variable of type
Object
.
previous
|
start
|
next