Multiple choice technology databases

Interface methods can be declared with which the following modifiers

  1. public

  2. private

  3. synchronised

  4. native

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

Interface methods in Java are implicitly public and abstract. They cannot be declared as private, synchronized, or native - these modifiers are not allowed for interface method declarations. The access modifier for interface methods is always public, which matches the question's requirement.