Зміст курсу
Java Extended
Java Extended
Cat Meowing Challenge
Завдання
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.
Дякуємо за ваш відгук!
Cat Meowing Challenge
Завдання
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.
Дякуємо за ваш відгук!
Cat Meowing Challenge
Завдання
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.
Дякуємо за ваш відгук!
Завдання
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.