6
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?

Radu Murzea
  • 10,724
  • 10
  • 47
  • 69
  • http://stackoverflow.com/questions/5932499/what-is-the-use-of-creating-a-class-inside-interface-and-interface-inside-class – ajay.patel Jul 01 '13 at 17:58

0 Answers0