Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of Graph Search.
This lecture covers the fundamental concepts of object-oriented programming, such as encapsulation, constructors, polymorphism, abstract classes, interfaces, and exception handling. It also delves into inheritance, dynamic link resolution, and the use of modifiers in Java. Through examples involving bags, documents, and chocolates, the lecture demonstrates polymorphism in action, showcasing how objects can be manipulated and compared based on their types. Additionally, it explores the nuances of the equals() method in Java, emphasizing the importance of correctly implementing object comparison. The lecture concludes with a discussion on dynamic binding, illustrating how method resolution dynamically occurs in Java, providing insights into variable shadowing and method overriding.
This video is available exclusively on Mediaspace for a restricted audience. Please log in to MediaSpace to access it if you have the necessary permissions.
Watch on Mediaspace