Challenge: Get Information About the Object
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 5
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Genial!
Completion tasa mejorada a 3.57
Challenge: Get Information About the Object
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 5
single