Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Introduction to OOPS

Introduction

 

Object-Oriented programming or OOPs refers to the language that uses the concept of class and object in programming. The main objective of OOPs is to implement real-world entities such as polymorphism, inheritance, encapsulation, abstraction, etc. The popular object-oriented programming languages are c++, java, python, PHP, c#, etc. 

 

Why do we use object-oriented programming?

  • To make the development and maintenance of projects more manageable.
  • To provide the feature of data hiding that is good for security concerns.
  • We can provide the solution to real-world problems if we are using object-oriented programming.

 

OOPs Concepts: Let’s look at the topics which we are going to discuss.

  • Access modifiers
  • Class
  • Object
  • Encapsulation
  • Abstraction
  • Polymorphism
  • Inheritance
  • Constructor
  • Destructor