Lesson 3️⃣: OOP Encapsulation and using Getter/Setter Methods
Bitesize Key points from this lesson
-
This lesson was focused on how to implement encapsulation using private attributes.
-
We learned about how to access private attributes using getter and setter methods.
-
We also looked at how polymorphism allows methods to be used in different ways depending on the object calling them.
Activities
The best way to improve your programming skills is to practice.