// multiple implementations of an interface

interface I {

	public void f();
	public void g();

} 

class A {

	public void f() { System.out.println ("A's f\n"); }

}

class B extends A {

	public void f() { System.out.println ("B's f\n"); super.f();}

}


class SimpleTest extends B implements I  {

public void f () { System.out.println ("SimpleTest's f\n"); super.f();}
public void g () { System.out.println ("SimpleTest's g\n"); }

public static void main (String [] args) {

		I iobj = new SimpleTest();

		iobj.f();
		iobj.g();
	}

}



