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.
Computer Science & Information Technology