"Hello, Amigo! You did so well on the previous exercises that I decided to find something a bit harder for you."

"Thanks, Diego. You're a real friend. I didn't expect that!!!"

undefined
3
Task
Java Core, level 2, lesson 6
Locked
Abstract Pet class
The Good Neighbor Farm takes in all pets, including outcasts and runaway convicts from all over the galaxy. But the farmers never know what kind of animals the intergalactic railroad will bring them next. To avoid any misunderstanding, create an abstract Pet class for the Good Neighbor Farm.
undefined
3
Task
Java Core, level 2, lesson 6
Locked
"Fix the code", part 1
This task is the start of a show where you'll be the star! Essentially, the main character is a skilled junior programmer who has to deal with code written by an inept coworker. In the end, the program compiles and everyone lives happily ever after.
undefined
3
Task
Java Core, level 2, lesson 6
Locked
"Fix the code", part 2
In this episode of "Fix the code", the young, but promising, programming intern must once again must wrestle with demons and... kittens. Aren't kittens the cutest? Or are they??? You could say this to Napoleon the cat breeder (if you dare!), but we need you to fix the code so that the program compiles.
undefined
3
Task
Java Core, level 2, lesson 6
Locked
Cows are animals too
During the intergalactic census, cows from Planet Earth weren't included in the unified animal register, because they were confused with a strikingly similar intelligent life form from Planet Mooing. Be a programmer! Correct this injustice! Make the Cow class inherit the Animal class and finish writing the Cow class's missing methods.
undefined
3
Task
Java Core, level 2, lesson 6
Locked
Cats should not be abstract!
Cats should not be abstract! Don't take my word for it - ask Schrodinger's cat. Its chilling story will convert any skeptic. But to not be bored, cats need their forever frenemies: dogs. So we will complete a task where two non-abstract Cat and Dog classes will inherit Pet, and then we'll write methods for them.