public interface I1
{
static class Test{}
}
Why Java allow class written in Interface?
is it good idea to write static class in interface? any example where we can use it effectively?
public interface I1
{
static class Test{}
}
Why Java allow class written in Interface?
is it good idea to write static class in interface? any example where we can use it effectively?