Solved

Consider the Following Code Snippet

Question 20

Multiple Choice

Consider the following code snippet:
Public void deposit(double amount)
{
TransactionCount ++;
Super.deposit(amount) ;
}
Which of the following statements is true?


A) This method will call itself.
B) This method calls a public method in its subclass.
C) This method calls a private method in its superclass
D) This method calls a public method in its superclass.

Correct Answer:

verifed

Verified

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

Related Questions