java program

abstract class A
{
abstract void f1();

		  abstract class B
		  {
		       abstract void f2();
		 }
}


interface C
{
      void f3();
	     
		  abstract class D
		  {
			   abstract void f4();
		  }
}


interface E
{
       void f5();
	     
		  interface F
		  {
		        void f6();
		 }
}


interface G
{
     void f7();
}


interface H
{
     void f8();
}

interface I extends G,H
{
    public void f9();
}

now execute all functions from within a single class.try to use object creation as minimum as possible

//