1.
interface A {
void display();
}
class B implements A {
//not use here private,protected,default......
**public** void display(){
System.out.println("i m interface method");
}
public static void main(String args[]){
A a1 = new B();
a1.display();
}
}
i am totally confusion please help me....and sorry for my English. Thank u