Implement a method replace for the ADT bag that replaces

  Implement a method replace for the ADT bag that replaces and returns an unspecified object currently in a bag with a given object.

IS IT YOUR FIRST TIME HERE? WELCOME

USE COUPON "11OFF" AND GET 11% OFF YOUR ORDERS