1 public class D2 {
2 static inteface I
3 {
4 static class D3
5 {
6 }
7 }
8 public static void main(String[] args) {
9 D2.I.D3 obj=new D2.I.D3();
10 System.out.println("objected created");
11 }
12
13 }
ERROR
Exception in
thread "main" java.lang.Error: Unresolved compilation problems:
D2.I cannot be resolved to a type
D2.I cannot be resolved to a type
at D2.main(D2.java:9).
These are the compilation errors.please tell me how i resolved this?