Listing 17. Invoke showB method on second object.
    System.out.println(
            "----------------------");
    System.out.println(
           "Display second B-Object");
    obj2.showB();

  }// end meth
}//end class A