Implement a method replace for the ADT bag that replaces and returns an unspecified object
currently in a bag with a given object.
{br} STUCK with your assignment? {br} When is it due? {br} Get FREE assistance. Page Title: {title}{br} Page URL: {url}
Implement a method replace for the ADT bag that replaces and returns an unspecified object
currently in a bag with a given object.