Question: why there are some null interface in java?
Answer: Null interface is another name for marker interface. Such an interface is empty, i.e. without any method declarations. The null interfaces are marker interfaces, they do not have function declarations in them, they are empty interfaces, this is to convey the compiler that they have to be treated differently.