Conteúdo do Curso
Java Extended
Java Extended
Cat Meowing Challenge
Tarefa
Now your task is to do the opposite. In the main
method, there is already code for creating multiple objects of the Cat
class, initializing their fields, and calling a method. Your task is to write the Cat
class so that it meows when the meooow()
method is called. You can also create a translator from cat language to English, as was done in the example with the Dog
class. But that is optional.
Obrigado pelo seu feedback!
Cat Meowing Challenge
Tarefa
Now your task is to do the opposite. In the main
method, there is already code for creating multiple objects of the Cat
class, initializing their fields, and calling a method. Your task is to write the Cat
class so that it meows when the meooow()
method is called. You can also create a translator from cat language to English, as was done in the example with the Dog
class. But that is optional.
Obrigado pelo seu feedback!
Cat Meowing Challenge
Tarefa
Now your task is to do the opposite. In the main
method, there is already code for creating multiple objects of the Cat
class, initializing their fields, and calling a method. Your task is to write the Cat
class so that it meows when the meooow()
method is called. You can also create a translator from cat language to English, as was done in the example with the Dog
class. But that is optional.
Obrigado pelo seu feedback!
Tarefa
Now your task is to do the opposite. In the main
method, there is already code for creating multiple objects of the Cat
class, initializing their fields, and calling a method. Your task is to write the Cat
class so that it meows when the meooow()
method is called. You can also create a translator from cat language to English, as was done in the example with the Dog
class. But that is optional.