Challenge: Pet and Owner Relationship
Taak
Swipe to start coding
- In the
mainmethod, create aPetobject calledGarfield. - Create an
Ownerobject namedBob. Assign Bob as the owner ofGarfield. - Create a
Petobject namedBen. - Create an
Ownerobject namedAlice. AssignAliceas the owner ofBen. - (Optional) You can also create your own pet and owner if you'd like.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 11
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 3.57
Challenge: Pet and Owner Relationship
Veeg om het menu te tonen
Taak
Swipe to start coding
- In the
mainmethod, create aPetobject calledGarfield. - Create an
Ownerobject namedBob. Assign Bob as the owner ofGarfield. - Create a
Petobject namedBen. - Create an
Ownerobject namedAlice. AssignAliceas the owner ofBen. - (Optional) You can also create your own pet and owner if you'd like.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 11
single