Classes and Objects in JavaScript | Introduction to Object-Oriented Programming (OOP)

Опубликовано: 12 Март 2026
на канале: DevSchool
1,606
59

In this video we will introduce Object Oriented Programming (OOP) and talk about Classes and Objects in JavaScript.

In this tutorial you will learn what a class is, what is the structure of a class in JavaScript, what is a constructor and how to instantiate an object.

📺 Recommended Videos
=
👉 JavaScript Course for BEGINNERS:    • Curs JavaScript in limba ROMANA pentru INC...  
👉 HTML and CSS Course in ROMANIAN for BEGINNERS:    • Curs HTML si CSS in limba ROMANA pentru IN...  
👉 VS Code Course:    • Visual Studio Code  
=========================================

🕗 Table of Contents
===========================================
00:00 - Introduction
00:14 - Creating objects using object literals
03:53 - Example of a class in JavaScript
07:11 - Creating objects using a class
09:14 - The difference between public and private properties (getter and setter)
=========================================

🔔 If you like the YouTube channel you can subscribe here:    / @devschoolro  

🔥 Do you want to help this channel?
=======================================
👉 https://www.buymeacoffee.com/devschoolro
👉 https://www.revolut.me/mariusoprea95
======================================

💬 Where can you find me
=========================================
👉 https://devschool.ro/
👉 Email: [email protected]
=