Challenge: Get Information About the Object
Compito
Swipe to start coding
- Define the type for each field in the
Catclass. - Implement the
infoCat()method to display the cat’s information, including itsname,age, andcolor. - Call the
infoCat()method for eachCatobject to display the cat information.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 5
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: Get Information About the Object
Scorri per mostrare il menu
Compito
Swipe to start coding
- Define the type for each field in the
Catclass. - Implement the
infoCat()method to display the cat’s information, including itsname,age, andcolor. - Call the
infoCat()method for eachCatobject to display the cat information.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 5
single