System.out.println( "----------------------"); System.out.println( "Display second B-Object"); obj2.showB(); }// end meth }//end class A