Get startedGet started for free

Build a class

You've decided to go ahead with your object-oriented pet shop simulation, and you need to start building out the classes and objects required for it. You're going to start with building out a class for Cats so that you can add new pets to the shop as they come in. This class will help ensure that you have the same properties for each cat that gets added.

This exercise is part of the course

Programming Paradigm Concepts

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise