You can declare that an interface is a functional interface by preceding it with the @FunctionalInterface annotation. The compiler will then ensure that the interface contains ________; otherwise, it’ll generate a compilation error.
a. no abstract methods
b. all abstract methods
c. only one abstract method
d. one or more abstract methods.
c. only one abstract method
Computer Science & Information Technology