CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Programming Paradigm Concepts

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice