Java abstract interface

Consider an example (which compiles in java)

public abstract interface Interface {
    public void interfacing();
    public abstract boolean interfacing(boolean really);
}

Why is it necessary for an interface to be “declared” abstract? Is there other rules that applies with an abstract interface?


Finally: If abstract is obsolete, why is it included in Java? Is there a history for abstract interface?

9 Answers
9

Leave a Comment