Multiple choice technology programming languages

What modifiers may be used with an interface declaration

  1. Public

  2. Private

  3. Abstract

  4. Protected

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

An interface declaration can use the public modifier to allow access from other packages, and is implicitly abstract. Private and protected modifiers are not allowed for top-level interface declarations in Java.