Solved

Which of the Following Is True About a Default Method

Question 4

Multiple Choice

Which of the following is true about a default method in an interface declaration?


A) A default method is a static method that does not have an implicit parameter.
B) A default method does not provide an implementation.
C) A class that implements the interface cannot override the default behavior.
D) A class that implements the interface can inherit the default behavior.

Correct Answer:

verifed

Verified

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

Related Questions