47.0k views
3 votes
Create a PetStore class, a Dog class, and Cat class. Once instantiated, a PetStore should be able to take in and give out pets. The store's method for receiving pets should be called receive. This method should take a single pet object (either a Dog or Cat instance) and should add it to the store's inventory of pets. The store's method for giving out a pet should be called sell and can take no arguments. The method returns a pet when called.

1 Answer

1 vote

Answer:

thanks to the great place

Step-by-step explanation:

hottest year in hindi history and happiness and the world is not a big deal to me because I think it's a good thing for a woman who has been a good friend of yours and happiness and be happy with examples

User Ibrahimgb
by
8.2k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.