Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Parrot Information Display Challenge | Classes
Java Extended
course content

Conteúdo do Curso

Java Extended

Java Extended

1. Deep Java Structure
2. Methods
3. String Advanced
4. Classes
5. Classes Advanced

Parrot Information Display Challenge

Tarefa

There is a class called Parrot that already has all the fields and a constructor defined. In the main method, three different parrots are created, and then I attempt to print each of them on the screen. However, it only displays the hash code and the class name. Your task is to write a toString() method that will display all the information about the parrot.

Tarefa

There is a class called Parrot that already has all the fields and a constructor defined. In the main method, three different parrots are created, and then I attempt to print each of them on the screen. However, it only displays the hash code and the class name. Your task is to write a toString() method that will display all the information about the parrot.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 4. Capítulo 9
toggle bottom row

Parrot Information Display Challenge

Tarefa

There is a class called Parrot that already has all the fields and a constructor defined. In the main method, three different parrots are created, and then I attempt to print each of them on the screen. However, it only displays the hash code and the class name. Your task is to write a toString() method that will display all the information about the parrot.

Tarefa

There is a class called Parrot that already has all the fields and a constructor defined. In the main method, three different parrots are created, and then I attempt to print each of them on the screen. However, it only displays the hash code and the class name. Your task is to write a toString() method that will display all the information about the parrot.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Seção 4. Capítulo 9
toggle bottom row

Parrot Information Display Challenge

Tarefa

There is a class called Parrot that already has all the fields and a constructor defined. In the main method, three different parrots are created, and then I attempt to print each of them on the screen. However, it only displays the hash code and the class name. Your task is to write a toString() method that will display all the information about the parrot.

Tarefa

There is a class called Parrot that already has all the fields and a constructor defined. In the main method, three different parrots are created, and then I attempt to print each of them on the screen. However, it only displays the hash code and the class name. Your task is to write a toString() method that will display all the information about the parrot.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo

Tudo estava claro?

Tarefa

There is a class called Parrot that already has all the fields and a constructor defined. In the main method, three different parrots are created, and then I attempt to print each of them on the screen. However, it only displays the hash code and the class name. Your task is to write a toString() method that will display all the information about the parrot.

Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 4. Capítulo 9
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
We're sorry to hear that something went wrong. What happened?
some-alt