"Xin chào, Amigo! Bài tập trước bạn làm rất tốt nên tôi quyết định tìm bài khó hơn một chút cho bạn."
"Cảm ơn, Diego. Bạn là một người bạn thực sự. Tôi không mong đợi điều đó!!!"
3
Nhiệm vụ
Java Core, mức độ, bài học
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.
3
Nhiệm vụ
Java Core, mức độ, bài học
"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.
3
Nhiệm vụ
Java Core, mức độ, bài học
"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.
3
Nhiệm vụ
Java Core, mức độ, bài học
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.
3
Nhiệm vụ
Java Core, mức độ, bài học
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.