"Hi, Amigo."

"Hi, Diego."

"I brought you a few tasks about the visibility of variables."

3
Task
New Java Syntax,  level 3lesson 5
Locked
What's the cat's name?
Help the cat get a name using the setName method.
3
Task
New Java Syntax,  level 3lesson 5
Locked
Cat register
Write code in the addNewCat method to increase the number of cats by 1 each time it is called. The variable catCount corresponds to the number of cats.
3
Task
New Java Syntax,  level 3lesson 5
Locked
Setting the number of cats
Write the setCatCount method. The method must set the number of cats (catCount).
3
Task
New Java Syntax,  level 3lesson 5
Locked
Name register
Finish writing the code of the setName method so that it sets the value of private String fullName to the value of the local String variable fullName.
3
Task
New Java Syntax,  level 3lesson 5
Locked
Count the number of cats
Write a code that correctly counts the number of created cats (count) and correctly displays the count on the screen.