请问抽象接口有什么用?
public abstract interface InvocationConstraint {
}
接口也可以是抽象的吗?它有什么特殊用途吗?
这个我还是头一次听说呢。
The interface in Java is a device that unrelated objects use to interact with each other.
The abstract superclass defines and may partially implement the behavior, but much of the class is undefined and unimplemented. Other programmers fill in the details with specialized subclasses.