32- Super Keyword, Overriding Methods in Java - Mr. Hollaway's Foundational Java Skills
In the thirty-second episode of "Mr. Hollaway's Foundational Java Skills," we delve deeper into object-oriented programming principles by focusing on the 'super' method call, method overriding, and the '@Override' annotation in Java. This video is tailored for beginners and aims to provide a comprehensive understanding of these key concepts. We'll start by explaining the 'super' keyword, which is used to call super class methods and access super class constructors, highlighting its role in inheritance. Next, we'll cover method overriding, a feature that allows a subclass to provide a specific implementation of a method already defined by its super class. We'll also discuss the importance of the '@Override' annotation, which helps ensure that a method is correctly overriding a method from a super class, improving code readability and preventing errors. Through detailed explanations and practical examples, you'll learn how to effectively use these techniques to enhance flexibility and functionality in your Java applications. 00:00 Introduction 00:46 Reviewing Inheritance 03:26 super method call 05:16 Overriding a parent method 06:44 Override keyword Related Videos: 23 - Understanding Classes and Objects in Java - https://youtu.be/VXfVj-sitwc 24 - Classes: Instances and Attributes in Java - https://youtu.be/iO4yp1EbFBc 25 - Classes: Constructors, Parameters and Overloading - https://youtu.be/ldUtThiN6lQ 26 - Understanding the 'This' Keyword in Java Classes - https://youtu.be/ei9voL2pUcw 27 - Methods in Java Classes: Creation and Invocation - https://youtu.be/VHjPK_VeGF4 28 - Getter and Setter Methods in Java - https://youtu.be/YsyO_H-boKU 29 - Java Methods: Multiple Parameters, Arguments, Overloading - https://youtu.be/YRh4-8Wve24 30 - Understanding Static Methods and Attributes in Java - https://youtu.be/gZdEm2hVIrE 31 - Inheritance in Java: Extending Classes, Super keyword - https://youtu.be/v_HcxlfH6s4
Download
0 formatsNo download links available.