i was trying to explain a friend about interface
i have followed the abstract concept but dont know to how to demonstrate
inteface a
{
void meth(int i){
};
}
class dani implements a
{
public static void main(String args[])
{int i;
public void meth(5);
System.out.print(i);
}
}
if i dont include method meth it should show me an error as per interface rule