Page 852 - AP Computer Science A, 7th edition
P. 852

12. (E) All of the methods in an interface are by default public (the public keyword isn’t needed). An abstract class can have both private and public methods. Note that choice A would be false if it simply stated “An interface cannot implement any methods, whereas an abstract class can.” Java 8 allows an interface to implement default methods.


































































































   850   851   852   853   854