Challenge: Pet and Owner Relationship
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 11
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 3.57
Challenge: Pet and Owner Relationship
Swipe um das Menü anzuzeigen
Aufgabe
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.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 11
single