Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Cat Meowing Challenge | Classes
Java Extended

Cat Meowing ChallengeCat Meowing Challenge

Завдання

I warned you that there would be a lot of practice.

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.

Все було зрозуміло?

Секція 4. Розділ 5
toggle bottom row

Cat Meowing ChallengeCat Meowing Challenge

Завдання

I warned you that there would be a lot of practice.

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.

Все було зрозуміло?

Секція 4. Розділ 5
toggle bottom row
some-alt