The twenty-fourth installment of "Mr. Hollaway's Foundational Java Skills" delves deeper into the practical aspects of Java classes. This video is perfectly suited for beginners who are ready to apply their knowledge of classes and objects in Java programming. We'll guide you through the process of making an instance of a class, which is a critical step in using classes effectively. Once we've covered instantiation, we'll move on to accessing attributes within these instances, highlighting the importance and functionality of the dot operator in this process. Through clear explanations and practical examples, you'll learn how to interact with objects in Java, setting the stage for more complex object-oriented programming concepts. By the end of this tutorial, you'll have a solid grasp of how to create and work with objects, tapping into the power of Java's object-oriented capabilities.
00:00 Introduction
00:17 Class Review
02:07 Making an instance (object)
02:58 Intro to the Constructor
03:31 Accessing the attribute
04:37 Dot operator
05:24 Adding another attribute
06:31 Making a second instance (object)
Related Videos:
23 - Understanding Classes and Objects in Java - • 23 - Understanding Classes and Objects 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
32- Super Keyword, Overriding Methods in Java - • 32- Super Keyword, Overriding Methods in ...