Multiple choice

Which of the following statements is/are correct about interface?

  1. Interface constant declarations of public, static and final are optional in any combination.

  2. An interface can have abstract method only; no concrete methods allowed.

  3. A class implementing an interface can itself be abstract.

  4. A class can implement any number of interfaces.

  5. All of the above

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

.