Difference between revisions of "Object-Oriented Programming System (OOPs) Concepts"

From JholJhapata
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
== Core OOPS concepts ==
 
== Core OOPS concepts ==
 
Let’s look into these object-oriented programming concepts:
 
Let’s look into these object-oriented programming concepts:
# '''Abstraction''' is the process representing essential features without including background details, to reduce the complexity for the users.
+
# '''[[Abstraction]]''' is the process representing essential features without including background details, to reduce the complexity for the users.
 
# '''[[Encapsulation]]''' is the process of wrapping the data and code.
 
# '''[[Encapsulation]]''' is the process of wrapping the data and code.
# '''Inheritance''' is used to derive a new type from an existing type, thereby establishing a parent-child relationship.
+
# '''[[Inheritance]]''' is used to derive a new type from an existing type, thereby establishing a parent-child relationship.
 
# '''[[Polymorphism]]''' meaning "one name many forms".
 
# '''[[Polymorphism]]''' meaning "one name many forms".

Latest revision as of 06:48, 5 January 2020

Object-oriented programming System(OOPs) is a programming paradigm based on the concept of “objects” that contain data and methods. The primary purpose of object-oriented programming is to increase the flexibility and maintainability of programs. It allows users create the objects that they want and then create methods to handle those objects. We will cover all features of OOPs in detail.

Core OOPS concepts

Let’s look into these object-oriented programming concepts:

  1. Abstraction is the process representing essential features without including background details, to reduce the complexity for the users.
  2. Encapsulation is the process of wrapping the data and code.
  3. Inheritance is used to derive a new type from an existing type, thereby establishing a parent-child relationship.
  4. Polymorphism meaning "one name many forms".