SlideShare a Scribd company logo
CONCEPTS OF
Presented By:
Sheetal Pareek
B.Sc. IT, 4th sem
Presented To:
Dr. Rajeshwari Trivedi
Coordinator B.Sc. IT
Dev Sanskriti Vishwavidyalaya
Topics To Be Discussed...
 Introduction to OOP
 Object
 Class
 Data Abstraction and Encapsulation
 Inheritance
 Polymorphism
Introduction to OOP
It is a 'Programming Concept' that work on the principle that Objects are
most important part of your program.
Programming problem is analyzed in terms of objects.
Four main principles of OOP:
1).Encapsulation
2).Abstraction
3).Inheritance
4).Polymorphism.
 Java, Python, Ruby, C++,Visual Basic are the some OOP Languages.
OBJECT
• Objects are the basic run time entities in an object oriented system.
• can be defined as an instance of a class (can be multiple instances of a class in a
program).
• contains both the data and the function(method), which operates on the data.
Example: A dog has states(Data) - color, name, breed
as well as behaviors(Functions) – wagging the tail, barking, eating.
CLASS
• An User-Define Data Type.
• A "Blueprint of Object", or an Extensible program-code-template for
creating objects.
• It is only an logical component and not the physical entity.
• Each class should be designed and programmed to accomplish one, and
only one, thing(data type).
• For example: in student class name, roll_no, marks are data members
and Total, Average, Display are the member function.
DATA ABSTRACTION AND ENCAPSULATION
 Abstraction is an act of representing essential features without including background details.
Classes use the concept of abstraction.
Since the classes use the concept of data abstraction, they are known as Abstract Data
Types (ADT).
It is used to reduce complexity and increase Efficiency.
It is simply a case of hiding details about how a thing works.
 The wrapping up of data and functions into a single unit (called c1ass) is known as Encapsulation.
The data is not accessible to the outside world, and only those functions which
are wrapped in the class can access it.
hide your data in order to make it safe from any modification.
INHERITENCE
⇢ Inheritance is the reuse of an existing code.
⇢ Inheritance is what is called when a parent class is used by a child
class for the purpose of extending the parent class.
⇢ By doing this we can save a lot of time and some unnecessary
programming.
TYPES OF INHERITANCE
1. Single Inheritance – Derived Class inherits only one base class.
2. Multiple Inheritance - a single derived class may inherit from two or more
than two base classes.
3. Hierarchical Inheritance -multiple derived classes inherits from a single base
class.
4. Multilevel Inheritance- derived class inherits from a class, which in turn
inherits from some other class. The Super class for one, is sub class for the other.
5. Hybrid Inheritance (also known as Virtual Inheritance)- derivation of a
class involves more than one form of any inheritance is called hybrid
inheritance.
POLYMORPHISM
• Polymorphism is derived from 2 greek words: poly and morphs.
Poly= many and Morphs= forms.
• briefly described as “one interface, many implementations”.
• Polymorphism is a characteristic of being able to assign a different
meaning or usage to something in different contexts.
• Increases Flexibility.
• There are two types of polymorphism:
(A).Compile time polymorphism (B).Run time polymorphism
REFERENCES
• The C++ Programming Language
- Bjarne Stroustrup
• Object Oriented Programming with C++
- E Balagurusamy
Concepts of oop1

More Related Content

PPTX
Characteristics of OOPS
abhishek kumar
 
PPTX
Characteristics of oop
Rasim Izhar Ali
 
PPTX
Oo ps concepts in c++
Hemant Saini
 
PPTX
Oops concepts
Kanan Gandhi
 
PPTX
Object oriented programming concept- Saurabh Upadhyay
Saurabh Upadhyay
 
PPTX
Basic Concepts Of OOPS/OOPS in Java,C++
Guneesh Basundhra
 
PDF
Chapter1 Introduction to OOP (Java)
Dyah Fajar Nur Rohmah
 
PPT
Ashish oot
Ashish Agrawal
 
Characteristics of OOPS
abhishek kumar
 
Characteristics of oop
Rasim Izhar Ali
 
Oo ps concepts in c++
Hemant Saini
 
Oops concepts
Kanan Gandhi
 
Object oriented programming concept- Saurabh Upadhyay
Saurabh Upadhyay
 
Basic Concepts Of OOPS/OOPS in Java,C++
Guneesh Basundhra
 
Chapter1 Introduction to OOP (Java)
Dyah Fajar Nur Rohmah
 
Ashish oot
Ashish Agrawal
 

What's hot (16)

PDF
Java programming -Object-Oriented Thinking- Inheritance
Jyothishmathi Institute of Technology and Science Karimnagar
 
PDF
Oop
志明 陳
 
PPTX
Encapsulation
Githushan Gengaparam
 
PPTX
Constant a,variables and data types
mithilesh kumar
 
PDF
Advanced software engineering lab 2
asimnawaz54
 
PPT
150950107056 2150704
Prashant Mokani
 
PDF
Top 10 java_oops_interview_questions
nishajj
 
PPTX
Top 10 java oops interview questions
nishajj
 
PPTX
C++ with student management system project
Kratik Khandelwal
 
PPTX
object oriented programing lecture 1
Geophery sanga
 
PPTX
Encapsulation
saikat rahman
 
PPTX
Oopsinphp
NithyaNithyav
 
PPTX
Object Oriented Programming - Basic Concepts
Arunkumar Kupppuswamy
 
PPTX
Object-Oriented concepts.pptx
BHARATH KUMAR
 
PPT
Oops slide
Ashok Sharma
 
Java programming -Object-Oriented Thinking- Inheritance
Jyothishmathi Institute of Technology and Science Karimnagar
 
Encapsulation
Githushan Gengaparam
 
Constant a,variables and data types
mithilesh kumar
 
Advanced software engineering lab 2
asimnawaz54
 
150950107056 2150704
Prashant Mokani
 
Top 10 java_oops_interview_questions
nishajj
 
Top 10 java oops interview questions
nishajj
 
C++ with student management system project
Kratik Khandelwal
 
object oriented programing lecture 1
Geophery sanga
 
Encapsulation
saikat rahman
 
Oopsinphp
NithyaNithyav
 
Object Oriented Programming - Basic Concepts
Arunkumar Kupppuswamy
 
Object-Oriented concepts.pptx
BHARATH KUMAR
 
Oops slide
Ashok Sharma
 
Ad

Similar to Concepts of oop1 (20)

PPTX
Introduction to oop and java fundamentals
AnsgarMary
 
PPTX
Object Oriented Programming
AyushiDubey19
 
DOC
Research paper
hirrahAzhar
 
PPTX
Principles and advantages of oop ppt
daxesh chauhan
 
PPTX
Java ppt
Apsara G
 
PPTX
OOPS 46 slide Python concepts .pptx
mrsam3062
 
PDF
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
PPSX
Core java lessons
vivek shah
 
PPTX
Introduction to OOP concepts
Ahmed Farag
 
PPTX
Intro to object oriented programming.pptx
RafiaZafar19
 
PDF
object oriented programming concepts and explanation
SATYA136395
 
PPTX
arthimetic operator,classes,objects,instant
ssuser77162c
 
PDF
Oops concepts
ACCESS Health Digital
 
PPT
Java_notes.ppt
tuyambazejeanclaude
 
PPTX
INHERITANCE-Oopc ppt-ta4
Ashutosh Makwana
 
PDF
Cs8392 oops 5 units notes
Narayanan sockalinganathan
 
PPTX
JAVA - Oops Concept.pptx
ayankamila005
 
PPTX
Principles of OOPs.pptx
LakshyaChauhan21
 
PPT
Overview of Object Oriented Programming using C++
jayanthi699330
 
Introduction to oop and java fundamentals
AnsgarMary
 
Object Oriented Programming
AyushiDubey19
 
Research paper
hirrahAzhar
 
Principles and advantages of oop ppt
daxesh chauhan
 
Java ppt
Apsara G
 
OOPS 46 slide Python concepts .pptx
mrsam3062
 
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
Core java lessons
vivek shah
 
Introduction to OOP concepts
Ahmed Farag
 
Intro to object oriented programming.pptx
RafiaZafar19
 
object oriented programming concepts and explanation
SATYA136395
 
arthimetic operator,classes,objects,instant
ssuser77162c
 
Oops concepts
ACCESS Health Digital
 
Java_notes.ppt
tuyambazejeanclaude
 
INHERITANCE-Oopc ppt-ta4
Ashutosh Makwana
 
Cs8392 oops 5 units notes
Narayanan sockalinganathan
 
JAVA - Oops Concept.pptx
ayankamila005
 
Principles of OOPs.pptx
LakshyaChauhan21
 
Overview of Object Oriented Programming using C++
jayanthi699330
 
Ad

Recently uploaded (20)

PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Software Development Company | KodekX
KodekX
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Make GenAI investments go further with the Dell AI Factory - Infographic
Principled Technologies
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
georgschmitzdoerner
 
PDF
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
PDF
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
CIFDAQ
 
PDF
Chapter 2 Digital Image Fundamentals.pdf
Getnet Tigabie Askale -(GM)
 
PDF
Enable Enterprise-Ready Security on IBM i Systems.pdf
Precisely
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Software Development Company | KodekX
KodekX
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Make GenAI investments go further with the Dell AI Factory - Infographic
Principled Technologies
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
madgavkar20181017ppt McKinsey Presentation.pdf
georgschmitzdoerner
 
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
 
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
CIFDAQ
 
Chapter 2 Digital Image Fundamentals.pdf
Getnet Tigabie Askale -(GM)
 
Enable Enterprise-Ready Security on IBM i Systems.pdf
Precisely
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 

Concepts of oop1

  • 1. CONCEPTS OF Presented By: Sheetal Pareek B.Sc. IT, 4th sem Presented To: Dr. Rajeshwari Trivedi Coordinator B.Sc. IT Dev Sanskriti Vishwavidyalaya
  • 2. Topics To Be Discussed...  Introduction to OOP  Object  Class  Data Abstraction and Encapsulation  Inheritance  Polymorphism
  • 3. Introduction to OOP It is a 'Programming Concept' that work on the principle that Objects are most important part of your program. Programming problem is analyzed in terms of objects. Four main principles of OOP: 1).Encapsulation 2).Abstraction 3).Inheritance 4).Polymorphism.  Java, Python, Ruby, C++,Visual Basic are the some OOP Languages.
  • 4. OBJECT • Objects are the basic run time entities in an object oriented system. • can be defined as an instance of a class (can be multiple instances of a class in a program). • contains both the data and the function(method), which operates on the data. Example: A dog has states(Data) - color, name, breed as well as behaviors(Functions) – wagging the tail, barking, eating.
  • 5. CLASS • An User-Define Data Type. • A "Blueprint of Object", or an Extensible program-code-template for creating objects. • It is only an logical component and not the physical entity. • Each class should be designed and programmed to accomplish one, and only one, thing(data type). • For example: in student class name, roll_no, marks are data members and Total, Average, Display are the member function.
  • 6. DATA ABSTRACTION AND ENCAPSULATION  Abstraction is an act of representing essential features without including background details. Classes use the concept of abstraction. Since the classes use the concept of data abstraction, they are known as Abstract Data Types (ADT). It is used to reduce complexity and increase Efficiency. It is simply a case of hiding details about how a thing works.  The wrapping up of data and functions into a single unit (called c1ass) is known as Encapsulation. The data is not accessible to the outside world, and only those functions which are wrapped in the class can access it. hide your data in order to make it safe from any modification.
  • 7. INHERITENCE ⇢ Inheritance is the reuse of an existing code. ⇢ Inheritance is what is called when a parent class is used by a child class for the purpose of extending the parent class. ⇢ By doing this we can save a lot of time and some unnecessary programming.
  • 8. TYPES OF INHERITANCE 1. Single Inheritance – Derived Class inherits only one base class. 2. Multiple Inheritance - a single derived class may inherit from two or more than two base classes. 3. Hierarchical Inheritance -multiple derived classes inherits from a single base class. 4. Multilevel Inheritance- derived class inherits from a class, which in turn inherits from some other class. The Super class for one, is sub class for the other. 5. Hybrid Inheritance (also known as Virtual Inheritance)- derivation of a class involves more than one form of any inheritance is called hybrid inheritance.
  • 9. POLYMORPHISM • Polymorphism is derived from 2 greek words: poly and morphs. Poly= many and Morphs= forms. • briefly described as “one interface, many implementations”. • Polymorphism is a characteristic of being able to assign a different meaning or usage to something in different contexts. • Increases Flexibility. • There are two types of polymorphism: (A).Compile time polymorphism (B).Run time polymorphism
  • 10. REFERENCES • The C++ Programming Language - Bjarne Stroustrup • Object Oriented Programming with C++ - E Balagurusamy