Multiple choice technology

Interfaces can be used to implement the Inheritance relationship between the non-related classes that do not belongs to the same hierarchy, i.e. any Class and any where in hierarchy.An interface can not be

  1. native

  2. synchronize

  3. protected or private.

  4. All of the above

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

Interface declarations in Java can only be public or package-private (default access). They cannot be declared with modifiers like native, synchronized, protected, or private. These keywords apply to specific methods or class features, not to interface declarations themselves.