instantiating our Class
At this point we know how to build our own classes; Just as when we worked with the Object/Array complex data types we started them up with 'new DataType' to create a new instance, we will do the same for our object. We will peak at our constructor method and see what its role is in the process.
Ready to Level Up Your Skills?
Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!
Enroll Now for Free!What are packages?
05:16
Renaming a Class
00:53
Publish Settings: Source Path
06:22
Creating a Class
08:20
What are Classes?
04:03
instantiating our Class
05:44
Constructor Parameters
Learn how to add parameters to a Constructor
01:06
Public and Private
04:34