1 of 4

JavaScript OOP

Elzero Web School

2 of 4

What Is OOP ?

  • OOP Stand For => Object Oriented Programming
  • OOP Is A Paradigm or Style Of Code
  • OOP Use The Concept Of Object To Design A Computer Program
  • Its Not New => Simula Is The First OOP Programming Language At 1960
  • Some Languages Support OOP and Some Not
  • Object Is A Package Contains Properties and Functions That Work Together To Produce Something in Your Application. Functions Here Called Methods

3 of 4

Object Simulation

Methods

Walk

Stop

Properties

Color

Price

4 of 4

Why We Use OOP ?

  • You Will be Able to Create a Large and Complex Software Architecture in Organized Ways.
  • You Will be Able To Hide Certain Parts Of Code in Your Object With Encapsulation To Prevent Mess With The Code.
  • You Will Be Able To Create Reusable Objects To Use in Your Application Easily With Inheritance.