🎴 Flashcard Mode

Java Programming Fundamentals

Card1 / 20
Mastered0
Review0
QuestionClick to flip

What modifiers may be used with an interface declaration

AnswerClick to flip back
A
Public
B
Abstract
💡 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.

Change Mode