- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is an Object Oriented Programming in JavaScript?
JavaScript is an Object Oriented Programming (OOP) language. A programming language can be called object-oriented if it provides four basic capabilities to developers −
- Encapsulation − the capability to store related information, whether data or methods, together with an object.
- Aggregation − the capability to store one object inside another object.
- Inheritance − the capability of a class to rely upon another class (or number of classes) for some of its properties and methods.
- Polymorphism − the capability to write one function or method that works in a variety of different ways.
Objects are composed of attributes. If an attribute contains a function, it is considered to be a method of the object, otherwise, the attribute is considered a property.
- Related Articles
- What is object-oriented programming (OOP)?
- What is the difference between Object oriented programming and Object based programming?
- What is Data Hiding in Python Object Oriented Programming?
- Object Oriented Programming in Python?
- What are basic Object oriented programming concepts?
- Object Oriented language v/s Procedure oriented programming language.
- Python Object-oriented and Functional Programming
- How to start object-oriented programming in C++?
- What does the repr() function do in Python Object Oriented Programming?
- What does the str() function do in Python Object Oriented Programming?
- What does the cmp() function do in Python Object Oriented Programming?
- Object Oriented language v/s Object based programming language.
- Why Java is not a pure object oriented programming language?
- Basic Concepts of Object Oriented Programming using C++
- Object-Oriented Databases

Advertisements