Let's test your knowledge. Click the correct answer from the options.
What is a functional interface in Java 8?
Click the option that best answers the question.
- An interface that contains only abstract methods
- An interface that contains both abstract and non-abstract methods
- An interface that cannot be implemented by a class
- An interface that can be inherited by multiple interfaces