Can I get an example on how a class method (in your driver), that counts the number of dogs and the number of cats. It is recommended you create one method called countPets that accepts the pet instance, type, and 0 as a constant number. This method should return the number of the pet set to it. This method is required but how it works is up to you. (This is what the assignment states but I am drawing a blank.
Hi there! Click one of our representatives below and we will get back to you as soon as possible.