Solved

Which of the Following Is True About a Default Method

Question 30

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

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