Hands-on practice for this lecture. Work through the exercises and quizzes to reinforce what you've learned.
Exercise 1 of 1
Practice shifting your mindset from "Actions acting on data" to "Entities owning their actions".
💡 The Swap: In Procedural code, we think "Do X to Y". In OOP, we think "Y, do X". Click the arrows to see how the syntax changes.
Practical exercises to master the concepts.
Identify the "Ideas" in a Library system. Create a Book class with Guna (ISBN, Title) and Karma (checkout, return).