CodeGym /Courses /Java Core /Useful links from the Professor — 11

Useful links from the Professor — 11

Java Core
Level 1 , Lesson 9
Available

"Hello, my young friend! I didn't expect to see you again so soon. What do you have to tell me? What did you learn this time?"

"I learned about class relationships, encapsulation, and inheritance. They told me I'm a good student!"

"That's great! I'm glad you're making progress because you're studying my lessons."

"I'm not just learning — I'm also completing tasks!"

"Of course, Amigo. There's another level ahead of you — a level dedicated to the basics of OOP. Before you run back to Ellie, Rishi, Kim, and your friend Diego, sit for a spell in our space library and read a few articles. I'm sure you'll find they contain a lot useful information."

"Okay, Professor. What have you got for me today?"

Relationships between classes. Inheritance, composition, and aggregation

In programming, you'll quickly understand how important it is not to write extra code. Fortunately, Java has everything you need to make elegant "cuts". This lesson presents a visualization of the following class relationships: inheritance, composition, and aggregation. Get ready: you'll see a lot of interesting examples.

Principles of encapsulation

Encapsulation and information hiding — are these different concepts or the same thing? In its basic form, you've encountered encapsulation more than once. If you want to know how to hide the complexity of your program from the user, leaving only an easy-to-use interface, I recommend that you read this lesson carefully.

Comments (3)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Thomas Level 13, Scottsdale, United States
11 August 2024
Great articles written ( and forums ) in Codegym with reduced jargon to boost rapid learning. I can read the Oracle (Sun) docs too for the precise specs ...
Agent Smith Level 38
23 August 2020
Study them well, because as you have probably guessed already - a truck load of exercises are coming! :D
Isaiah Burkes Level 16, Tampa, United States
22 December 2019
Good links :)