Multiple choice general knowledge

Interface be final?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Java, an interface cannot be declared as final because the final modifier prevents inheritance and implementation, which contradicts the fundamental purpose of interfaces. Interfaces are designed to be implemented by classes, making them inherently incompatible with the final keyword.