Hi to all , Iam new to java world, here is the my program , this is getting compile time erors, iam unable to understand, please any one give instructions to me how to write interface in a class
public class D2 {
static inteface I
{
static class D3
{
}
}
public static void main(String[] args) {
D2.I.D3 obj=new D2.I.D3();
System.out.println("objected created");
}
}
public class D2 {
static inteface I
{
static class D3
{
}
}
public static void main(String[] args) {
D2.I.D3 obj=new D2.I.D3();
System.out.println("objected created");
}
}