What are Classes, Objects, and Constructors?

Web Dev Simplified β€’ June 4, 2019
Video Thumbnail
Web Dev Simplified Logo

Web Dev Simplified

View Channel

About

Web Dev Simplified is all about teaching web development skills and techniques in an efficient and practical manner. If you are just getting started in web development Web Dev Simplified has all the tools you need to learn the newest and most popular technologies to convert you from a no stack to full stack developer. Web Dev Simplified also deep dives into advanced topics using the latest best practices for you seasoned web developers. I started Web Dev Simplified in order to share my passion for web development, and do what I truly love. Teach and inspire new web developers. I have been in love with full stack web development since 2015 when I did my first internship as a web developer. Ever since then I have pursued my passion, learning everything there is to know about web development. Over the years I have taught many colleagues and friends the joys of web development, and cannot wait to teach you. Thank you for watching!

Video Description

Object Oriented Programming is one of the most common programming patterns, but it can be incredibly confusing with all the new terminology. In this video I will be breaking down the basic Object Oriented Programming terms, Class, Object, Instance, Instantiate, and Constructor. By the end of this video you will have a complete understanding of how Classes, Objects, and Constructors interact and relate to one another. Class: Similar to a blueprint. It defines what its objects will look like (functions, parameters, etc.) Object: Similar to a house produced from a blueprint. It is an instance of a class and contains all the specific details of the class that are not shared with any of the other objects, such as the color for a house. Constructor: This is the method that is called when creating an object from a class. It is usually used to set all of the specific details of the object such as color in the house example. New: The new keyword is used before a class name to create an object using the class constructor. 🧠 Concepts Covered: - What are classes - What are objects - Objects vs Classes - How to create objects - How to create classes - What are constructors 🌎 Find Me Here: Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified #ClassVsObject #OOP #Constructor

You May Also Like

Upgrade Your Gear Essentials

AI-recommended products based on this video