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.
c. When you enhance an existing interface with default methods—any class that implemented the original interface will break.
You might also like to view...
You would adjust the ________ to control the intensity of the colors in a picture
Fill in the blank(s) with correct word
Modify the espresso program to include brewed coffee. It comes in a 12 oz. size only and costs $1.00 plus tax.
What will be an ideal response?