SlideShare a Scribd company logo
Object Oriented Programming Using C++
Concept Of Object Oriented Programming
OOPs is an approach or a Programming pattern where the
programs are structured around objects rather than functions and
logic. It makes the data partitioned into two memory areas, i.e.,
data and functions, and helps make the code flexible and modular.
Object-oriented programming mainly focuses on objects that are
required to be manipulated. In OOPs, it can represent data as
objects that have attributes and functions.
Basic Object-Oriented Programming
 Object-An O Object can be defined as an entity that has a
state and behavior, or in other words, anything that exists
physically in the world is called an object. It can represent a
dog, a person, a table, etc. An object means the combination
of data and programs, which further represent an entity.
 Classes-Class can be defined as a blueprint of the object. It is
basically a collection of objects which act as building blocks.
 Abstraction- Abstraction helps in the data hiding process. It
helps in displaying the essential features without showing the
details or the functionality to the user. It avoids unnecessary
information or irrelevant details and shows only that specific
part which the user wants to see.
ABSTRACTION
 Encapsulation- The wrapping up of data and functions together
in a single unit is known as encapsulation. It can be achieved by
making the data members' scope private and the member
function’s scope public to access these data members.
Encapsulation makes the data non-accessible to the outside
world.
ENCAPSULATION
 Inheritance- Inheritance is the process in which two classes have
an is-a relationship among each other and objects of one class
acquire properties and features of the other class. The class which
inherits the features is known as the child class, and the class
whose features it inherited is called the parent class. For example,
Class Vehicle is the parent class, and Class Bus, Car, and Bike are
child classes.
INHERITANCE
 Polymorphism- It means many forms. It is the ability to take
more than one form. It is a feature that provides a function or an
operator with more than one definition. It can be implemented
using function overloading, operator overload, function
overriding, virtual function.
POLYMORPHISM
Advantages of OOPs
There are various advantages of object-oriented programming.
 OOPs provide reusability to the code and extend the use of
existing classes.
 In OOPs, it is easy to maintain code as there are classes and
objects, which helps in making it easy to maintain rather than
restructuring.
 It also helps in data hiding, keeping the data and information
safe from leaking or getting exposed.
 Object-oriented programming is easy to implement.
Object Oriented Programming.pptx its a opps concept in c++ which is helpful

More Related Content

PPTX
Introduction to Object Oriented Programming.pptx
PPTX
Object Oriented Programming intro Lecture 1.pptx
PPTX
JAVA - Oops Concept.pptx
PDF
What is Object-Oriented Programming (OOP) and Why Do We Need It?
PPTX
basics of c++ object oriented programming l anguage
PPTX
introduction to object oriented programming
PDF
Oops concepts || Object Oriented Programming Concepts in Java
PPTX
1 intro
Introduction to Object Oriented Programming.pptx
Object Oriented Programming intro Lecture 1.pptx
JAVA - Oops Concept.pptx
What is Object-Oriented Programming (OOP) and Why Do We Need It?
basics of c++ object oriented programming l anguage
introduction to object oriented programming
Oops concepts || Object Oriented Programming Concepts in Java
1 intro

Similar to Object Oriented Programming.pptx its a opps concept in c++ which is helpful (20)

PPTX
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
PPTX
OOP.pptx
PPTX
Chapter 04 object oriented programming
PPTX
Object oriented programming (oops) python
PPTX
fileE_1722655797_5000762_Unit-1OOPS.pptx
DOCX
Benefits of encapsulation
PDF
CS3391 -OOP -UNIT – I NOTES FINAL.pdf
PDF
Oops concepts
PPTX
Intro to object oriented programming.pptx
PPT
OOP intro.ppt
PPTX
CPP-Unit 1.pptx
PPTX
Chapter1 introduction
PPT
Oops slide
PPTX
POP vs OOP Introduction
PPTX
Principles of OOPs.pptx
PDF
OOPS_Unit_1
PPTX
Object Oriented Programming in C++ in software development
PPT
chapter - 1.ppt
PPT
Basic concept of OOP's
PPTX
OOSD Lecture 1-1.pptx FOR ENGINEERING STUDENTS
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
OOP.pptx
Chapter 04 object oriented programming
Object oriented programming (oops) python
fileE_1722655797_5000762_Unit-1OOPS.pptx
Benefits of encapsulation
CS3391 -OOP -UNIT – I NOTES FINAL.pdf
Oops concepts
Intro to object oriented programming.pptx
OOP intro.ppt
CPP-Unit 1.pptx
Chapter1 introduction
Oops slide
POP vs OOP Introduction
Principles of OOPs.pptx
OOPS_Unit_1
Object Oriented Programming in C++ in software development
chapter - 1.ppt
Basic concept of OOP's
OOSD Lecture 1-1.pptx FOR ENGINEERING STUDENTS
Ad

Recently uploaded (20)

PPTX
Cell Structure & Organelles in detailed.
PPTX
Cell Types and Its function , kingdom of life
PPTX
master seminar digital applications in india
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Presentation on HIE in infants and its manifestations
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Institutional Correction lecture only . . .
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Lesson notes of climatology university.
PDF
Anesthesia in Laparoscopic Surgery in India
Cell Structure & Organelles in detailed.
Cell Types and Its function , kingdom of life
master seminar digital applications in india
102 student loan defaulters named and shamed – Is someone you know on the list?
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Supply Chain Operations Speaking Notes -ICLT Program
O7-L3 Supply Chain Operations - ICLT Program
human mycosis Human fungal infections are called human mycosis..pptx
Presentation on HIE in infants and its manifestations
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Final Presentation General Medicine 03-08-2024.pptx
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
GDM (1) (1).pptx small presentation for students
Institutional Correction lecture only . . .
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Microbial diseases, their pathogenesis and prophylaxis
Lesson notes of climatology university.
Anesthesia in Laparoscopic Surgery in India
Ad

Object Oriented Programming.pptx its a opps concept in c++ which is helpful

  • 2. Concept Of Object Oriented Programming OOPs is an approach or a Programming pattern where the programs are structured around objects rather than functions and logic. It makes the data partitioned into two memory areas, i.e., data and functions, and helps make the code flexible and modular. Object-oriented programming mainly focuses on objects that are required to be manipulated. In OOPs, it can represent data as objects that have attributes and functions.
  • 3. Basic Object-Oriented Programming  Object-An O Object can be defined as an entity that has a state and behavior, or in other words, anything that exists physically in the world is called an object. It can represent a dog, a person, a table, etc. An object means the combination of data and programs, which further represent an entity.  Classes-Class can be defined as a blueprint of the object. It is basically a collection of objects which act as building blocks.
  • 4.  Abstraction- Abstraction helps in the data hiding process. It helps in displaying the essential features without showing the details or the functionality to the user. It avoids unnecessary information or irrelevant details and shows only that specific part which the user wants to see. ABSTRACTION
  • 5.  Encapsulation- The wrapping up of data and functions together in a single unit is known as encapsulation. It can be achieved by making the data members' scope private and the member function’s scope public to access these data members. Encapsulation makes the data non-accessible to the outside world. ENCAPSULATION
  • 6.  Inheritance- Inheritance is the process in which two classes have an is-a relationship among each other and objects of one class acquire properties and features of the other class. The class which inherits the features is known as the child class, and the class whose features it inherited is called the parent class. For example, Class Vehicle is the parent class, and Class Bus, Car, and Bike are child classes. INHERITANCE
  • 7.  Polymorphism- It means many forms. It is the ability to take more than one form. It is a feature that provides a function or an operator with more than one definition. It can be implemented using function overloading, operator overload, function overriding, virtual function. POLYMORPHISM
  • 8. Advantages of OOPs There are various advantages of object-oriented programming.  OOPs provide reusability to the code and extend the use of existing classes.  In OOPs, it is easy to maintain code as there are classes and objects, which helps in making it easy to maintain rather than restructuring.  It also helps in data hiding, keeping the data and information safe from leaking or getting exposed.  Object-oriented programming is easy to implement.