32- Super Keyword, Overriding Methods in Java - Mr. Hollaway's Foundational Java Skills

Опубликовано: 03 Май 2026
на канале: mr hollaway's code and tech tutorials
13
2

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 -    • 23 - Understanding Classes and Objects in ...  
24 - Classes: Instances and Attributes in Java -    • 24 - Classes: Instances and Attributes in ...  
25 - Classes: Constructors, Parameters and Overloading -    • Video  
26 - Understanding the 'This' Keyword in Java Classes -    • 26 - Understanding the 'This' Keyword in J...  
27 - Methods in Java Classes: Creation and Invocation -    • Video  
28 - Getter and Setter Methods in Java -    • 28 - Getter and Setter Methods in Java - M...  
29 - Java Methods: Multiple Parameters, Arguments, Overloading -    • 29 - Java Methods: Multiple Parameters, Ar...  
30 - Understanding Static Methods and Attributes in Java -    • 30 - Understanding Static Methods and Attr...  
31 - Inheritance in Java: Extending Classes, Super keyword -    • Video