MulaiMulai sekarang secara gratis

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.

Latihan ini adalah bagian dari kursus

Programming Paradigm Concepts

Lihat Kursus

Latihan interaktif praktis

Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.

Mulai berolahraga