Go through this program once ...
I will explain the use of interface at the end...
Interface Interf
{
void m1();
void m2();
}
class InterfaceTest implements Interf
{
public void m1()
{
System.out.println("implementation m1");
}
public void m2()
{
System.out.println("implementation m2");
}
public void m3()
{
System.out.print("YOU WONDER ! I knew why????? I am … Read more