I would think this is easily googleable question, but I found nothing. In the following code:
public class ParentClass {
public static interface InterfaceStatic {
}
public interface InterfaceNotStatic
{
}
}
Can you describe the difference between InterfaceNotStatic
and InterfaceStatic
? I know what the same syntax means for nested classes, but since interfaces hold no value, the purpose of static
here eludes me.