Solved

Consider the Following Class Declaration

Question 50

Multiple Choice

Consider the following class declaration:
Public class SavingsAccount extends BankAccount { . . . }
Which of the following statements about these classes is correct?


A) ArrayList<BankAccount> is a subclass of ArrayList<SavingsAccount>.
B) ArrayList<SavingsAccount> is a subclass of ArrayList<BankAccount>.
C) ArrayList<SavingsAccount> extends ArrayList<BankAccount>.
D) There is no relationship between ArrayList<BankAccount> and ArrayList<SavingsAccount>

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents