DEV Community

Liam Gomez
Liam Gomez

Posted on • Updated on

Day 16/100 Java

Another Productive Day,

Day 16/100

Language:
JAVA

Time Period Spent:
2hrs

Course Taken:
Udemy: Java Programming Masterclass - Tim Buchalka

Todays Learning:
OOP Part 2
- Composition
- Object Composition
- Composition vs Inheritance
- Trailing composition calls

Challenges:
- Single Room Builder
- Multi Room Builder

Additional Notes:
Today we have gone throught and started on composition. Not been told what the limitations of this is yet as I am getting to it, but it seems we can use composition to tie different classes and render methods from seperate classes using this. When we call the main methods we can simply create new instances directly from the call function. This is nice and feels like it makes the code easier to type.

Top comments (0)