Object Oriented Programming in JavaScript

von
Coursera Project Network
In diesem Angeleitetes Projekt werden Sie:

Create ES6 classes & initialise the objects by calling constructors using new keyword.

Apply Inheritance to write reusable & modular code by using extends & calling parent class using super method.

Learn usage of static and instance variable / methods and implement security using private variables.

Clock1 hour
IntermediateMittel
CloudKein Download erforderlich
VideoVideo auf geteiltem Bildschirm
Comment DotsEnglisch
LaptopNur Desktop

Welcome to this guided project about how to do “Object Oriented Programming in JavaScript” My name is Honey Thakuria, and I will be your instructor for this project. This project is for people who are interested in solving problems using Object oriented approach. I’ll teach you how to write classes denoting your business objects, inheriting parent class and using static and instance variables. But, you should be familiar with the fundamentals of JavaScript. I’m excited to teach you how to do object oriented programming in JavaScript. I’ve 5+ years of experience in working as a Software Engineer with leading product based companies and startups. I’ve built a number of software which are modular and can serve millions of users requests. Let’s take a look at what you’ll accomplish by the end of this project. We’ll be solving a classical inheritance problem involving Student & Teacher using Object Oriented approach in JavaScript. I’ll be explaining you OOPS concepts and will give you test cases for each concept explained. If you’ll apply the knowledge you gained during the session, you’ll be able to pass those test cases and master the concepts.

Kompetenzen, die Sie erwerben werden

Design PatternObject-Oriented Programming (OOP)JavaScriptInheritanceClasses

Schritt für Schritt lernen

In einem Video, das auf einer Hälfte Ihres Arbeitsbereichs abgespielt wird, führt Sie Ihr Dozent durch diese Schritte:

  1. Create classes along with member variables and functions by initialising the objects by writing constructors.

  2. Implement inheritance by extending the parent class and initialising it using the super keyword from child class. 

  3. Secure data by implementing private variable and accessing them using getters.

  4. Avoid data replication by using static member variables using class name.

  5. Learn usage of set method by implementing it.

Ablauf angeleiteter Projekte

Ihr Arbeitsbereich ist ein Cloud-Desktop direkt in Ihrem Browser, kein Download erforderlich

Ihr Dozent leitet Sie in einem Video mit geteiltem Bildschirm Schritt für Schritt an.

Häufig gestellte Fragen

Häufig gestellte Fragen

Haben Sie weitere Fragen? Besuchen Sie das Hilfe-Center für Teiln..