Solved

Consider the Following Code Snippet That Appears in a Subclass

Question 63

Multiple Choice

Consider the following code snippet that appears in a subclass:
Public void deposit(double amount)
{
TransactionCount ++;
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