请问抽象接口有什么用?

最近在看代码时看到下面的定义
public abstract interface InvocationConstraint {
}
接口也可以是抽象的吗?它有什么特殊用途吗?

Hello,anybody hear me?

interface再加上一个abstract没有任何意义,完全等同于interface

有的时候还是用的说
毕竟interface里面不能有实现代码.

interface本来就是 abstract 的,
其一般包含一些公共方法或常量,由implement该接口的类来实现接口方法
实现类的多态性

> interface本来就是 abstract 的,


这个我还是头一次听说呢。

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.