Empty is abstract classvery similar to interface, except that it can expandclass
abstract class myAbstractClass // extends anotherClass implements anInterface
{
}
interface myInterface // extends anotherInterface
{
}
This template is called the marker interface , and SO has a lot of good data about it already: What is the purpose of the marker interface?
source
share