Solved

Which of the Following Statements Is False

Question 25

Multiple Choice

Which of the following statements is false?


A) In Java SE 8, an interface may declare default methods-that is, public methods with concrete implementations that specify how an operation should be performed.
B) When a class implements an interface, the class receives the interface's default concrete implementations if it does not override them.
C) When you enhance an existing interface with default methods-any class that implemented the original interface will break.
D) With default methods, you can declare common method implementations in interfaces (rather than abstract classes) , which gives you more flexibility in designing your classes.

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