Challenge: Pet and Owner Relationship
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 11
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Fantastico!
Completion tasso migliorato a 3.57
Challenge: Pet and Owner Relationship
Scorri per mostrare il menu
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 11
single