I am preparing for OCJP 6.0 exam and I encountered some interesting concepts in Java
Why do we define a class inside an interface? what is the use of it? As we cannot instantiate the class it seems like it does not have any use. Similarly I found that interface can be declared inside class which I think can be used as abstract class. What is the use of it exactly? Possible duplicate : inner class within Interface
what is the concept behind
int[] o = new int[][]{{1}}[0];
I am having 1D array and RHS has 3 dimensions still the code compiles??
why so???