CodeGym /Courses /Java Core /Tasks | Level 5 | Lesson 6

Tasks | Level 5 | Lesson 6

Java Core
Level 5 , Lesson 6
Available

"Hello, Amigo!"

4
Task
Java Core, level 5, lesson 6
Locked
The simplest code: part 1
The simplest code: part 1
4
Task
Java Core, level 5, lesson 6
Locked
The simplest code: part 2
The simplest code: part 2
4
Task
Java Core, level 5, lesson 6
Locked
The simplest code: part 3
The simplest code: part 3
Comments (12)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Daniel Ketcheson Level 28, Canada
3 July 2023
Break it down now! (Boogie emoticon with a 'fro)
Oliver Heintz Level 18, Mustang, United States
12 January 2021
Easily completed, and the one mistake I made in the second task cleared things up for me immensely when I realized what I did wrong. All of this is so straight forward, which worries me about what is about to come, hahaha!
Aleksa Level 18, Belgrade, Serbia
2 April 2022
ha boo, low.
Chandan Thapa Level 22, Dubai, United Arab Emirates
3 December 2020
like the way it has been laid out in exercises.
Fa Yu Level 16, Tashkent, Uzbekistan
5 July 2019
easily done, but didn't understand anything :))
P.B.Kalyan Krishna Level 24, Guntur, India
20 May 2022
The main takeaway is that constructors with no arguments (default constructors) are added automatically by the compiler, and in those constructors the calls to default constructors of the super class (super()) are automatically added by the compiler. Any class that does not extend any other class implicitly extends the Object class. So that also need not be shown explicitly. Also if the super class implements an interface, the sub class need not implement the same interface. All the interface methods implemented in super class are automatically inherited in the sub class. The sub class is free to use them as it is or override them if required.
JeRiF94 Level 22, Baku, Azerbaijan
8 May 2019
Done!
Hashirama Level 26, Port-Harcourt, Nigeria
7 February 2019
I just learnt a bunch of not too hard names all at ones: Hypernym and Hyponym!!! Holonym and Meronym!!! Mehn! Programming is something..!!!
Berkson Level 17, Fortaleza, Brazil
23 June 2019
I had never heard of this terms before..It was very instructive.
Fadi Alsaidi Level 34, Carrollton, TX, USA
25 January 2020
Hopefully this should help someone: Hypernym and Hyponym ( Example craws, penguins are BIRDS. that makes craws and penguins Hyponym and birds is their Hypernym) in programming terms this relationship type is " is a" relationship. Example a penguin "is a" bird. Based on prior lessons this seems to fit best for inherited classes. Meronym and Holonymn ( Example leafs, or branches are part of TREES. that makes leafs and branches Meronym and the tree is their Holonymn) in programming terms this relationship type is "has a" relationship. Example a Tree "has a" leaf. Based on prior lessons this seems to fit best for inherited interfaces.
Tara Rosenthal Level 18, Farmers Branch, United States
27 April 2020
Thank you. This helped me to understand why interfaces of parent classes are automatically implemented in their child classes. If I use the example of a tree as the parent class and the oak as a child class where the parent class implements leaf, since all trees have leaves and all oaks are trees, all oaks have leaves.
Andrei Level 41
7 December 2020
Excellent explaining, Fadi, thank you!