What are Classes, Objects, and Constructors?

preview_player
Показать описание
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:

#ClassVsObject #OOP #Constructor
Рекомендации по теме
Комментарии
Автор

as a beginner, I spent almost a year living in fear of js Classes. These four minutes have changed everything. You are an amazing teacher!!

go_all_the_way
Автор

I was struggling to get the difference between the two and to fully understand classes, but this video just makes it simple. Thank you so much!

caiofuccio
Автор

Thank you very much. Please make full series of above concept.

revadaraviteja
Автор

I'll say it again: Your tutorials make all of this so much more acessible. Thank you!

burgerbeatz
Автор

I always like those videos that teach basic concepts where I have been seeing and using without clearly knowing too much. For instance, the mongoose model stuff is a lot like this.

AnnieTaylorChen
Автор

Thanks for clearing my doubts every time I get stuck on a topic. You're a life saver!

erickchavez
Автор

Damn 4 minutes to make this easy to understand explanation about OOP, when my College Teacher explain it in 40 minutes.

MythicalMaestro
Автор

Awesome vid man! These always help me out when i need to reinforce something i didn't fully understand in a lecture. Keep em coming!

gmachat
Автор

I was confused in this for a very long time and this simple and short video has helped me in removing my confustion. Thanks a lot

mohammadeisa
Автор

Your an amazing teacher brotha I been search up and down the youtube plateform on learning js for beginners and found your content and it's been beyond a blessing!. I'm currently building your calculator but got alittle confused on constructors so thank you so much for putting this video out the blueprint and house concept made ALOT of since for the ground work of what's the difference between constructors and objects. 😁

kidbrave_
Автор

OMG, I struggled so much to understand this, and then you come with a video of 4:21 minutes and suddenly everything makes sense, thanks a lot!

carlosramirez-fyvz
Автор

Im very new to js and programming in general, Im learning for a month and this has become a pretty difficult obstacle for me, but I think I got it. This video made me understand many things. Thank you!

theidk
Автор

Hello, that is INSANE. really easy to understand. I'm switching from "nocode" type of programming language into a coding environment and this tutorial is a saviour.

glitchydust
Автор

Hi Kyle. You have some great videos. I'm currently doing a short course on JavaScript and have encountered the Prototype chain. The content has been difficult but manageable until now. I think the idea of the Prototype chain could definitely use some Web Dev Simplification.

Stephen
Автор

My life long mystery of what constructor does in programming is finally explained in simple term. Thanks man. I subscribed.

htetwaiyan
Автор

THANK YOU for this video! My school is using Cengage to learn comp sci 1 & 2 and it's an awful oblique program. You're a great teacher, excited to browse your other videos.

xloveisallahoax
Автор

I loved it you just made it so simple without making a 20 min video. Thank you so much!

alvaroguevara
Автор

I have been struggling so much to understand this, and this 4 minute video with a very practical example of the House made it so much easier to understand, thank you!! Would love to see a course on this :) When will you React course be released, btw?

jeanetlin
Автор

Thank you so much! you were able to explain classes in much simpler terms than most people!

gjpdfso
Автор

Yes please make it a series I don't understand the whole concept yet. Thanks

zealousprogrammer
welcome to shbcf.ru