02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Constructor Parameters

The next step after creating our first Class is enabling us to send a parameter into the constructor of the class. This way we can automatically send initiation parameters into our new object. Lets see how that can be done.

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