Multiple choice

Which of the following is not true about interfaces in Java?

  1. All methods inside the interfaces are abstract by default.

  2. The access specifiers of all the methods are protected by default.

  3. The variables in interfaces are not final.

  4. Both 1 and 2.

  5. Both 2 and 3.

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

Correct choice