SlideShare a Scribd company logo
1 of 12
OBJECT
ORIENTED
PROGRAMMING
LESSON NO 1
2/14/2018
1
Features of OOP
 1.Class
 2.Object
 3.Data Abstraction
 4.Encapsulation
 5.Inheritence
 6.Polymorphism
 7.Dynamic Binding
2/14/2018
2
CLASS
 A class is a blueprint or prototype, that defines the
variables and the methods common to all objects of
a certain kind.
 Static variable- which contain information that is
shared by all the instances of the class.
 Static method- which can be invoked directly from
the class.
2/14/2018
3
Objects
2/14/2018
4
An object is a unique entity, that
contains data and functions
together in an OOP language
DATA ABSTRACTION
2/14/2018
5
 It refers to the act of representing essential data
without including the background details of
explaination.
Polymorphism
2/14/2018
6
 Ability of an object to take than one form.
Inheritance
2/14/2018
7
 It is the capability of one class of things to inherit
capabilities or properties from another class
Dynamic Binding
2/14/2018
8
Process to link function call
with function signature at
runtime.
Encapsulation
2/14/2018
9
 The wrapping up of data and operations of functions
into a single unit is known as encapsulation
Advantages of OOP
2/14/2018
10
 1.It gives stress on data items Rather on functions.
 2.Offers code reusability.
 3.Highly beneficial to solve complex program.
 4.Makes it easy to maintain and modify existing
code.
Disadvantages of OOP
2/14/2018
11
 1.classes are overly generalised.
 2.Needs proper planning and proper design for OOP.
 3.design is tricky.
 4.Relationship between classes becomes artificial at
times.
DIFFERENCE BETWEEN POP AND OOP
2/14/2018
12
POP OOP
1.THE STRESS IS PUT ON FUNCTION
RATHER THAN THE DATA.
1.THE STRESS IS PUT ON DATA
RATHER THAN ON FUNCTION.
2.IT ALLOWS THE DATA TO FLOW
FREELY THROUGHOUT THE
PROGRAM.
2.THE DATA IS RESTRICTED TO A
SPECIFIC PROGRAM AREA.
3.IT DOES NOT HAVE ANY ACCESS
SPECIFIER
3.IT HAS 3 ACCESS SPECIFIERS VIZ.
public , private, protected.
4.IT FOLLOWS TOP-DOWN
PROGRAMMING APPROACH.
4.IT FOLLOWS BOTTOM –UP
PROGRAMMING APPROACH.

More Related Content

What's hot

Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
dheva B
 
the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
Aida Ramlan II
 
Chapter 6 OOPS Concept
Chapter 6 OOPS ConceptChapter 6 OOPS Concept
Chapter 6 OOPS Concept
Amrit Kaur
 

What's hot (16)

principle of oop’s in cpp
principle of oop’s in cppprinciple of oop’s in cpp
principle of oop’s in cpp
 
Oo ps concepts in c++
Oo ps concepts in c++Oo ps concepts in c++
Oo ps concepts in c++
 
Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4Oops concept in c++ unit 3 -topic 4
Oops concept in c++ unit 3 -topic 4
 
Object Oriented Language
Object Oriented LanguageObject Oriented Language
Object Oriented Language
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Concept of Object Oriented Programming
Concept of Object Oriented Programming Concept of Object Oriented Programming
Concept of Object Oriented Programming
 
concept of oops
concept of oopsconcept of oops
concept of oops
 
C plusplus
C plusplusC plusplus
C plusplus
 
Ashish oot
Ashish ootAshish oot
Ashish oot
 
object oriented programing lecture 1
object oriented programing lecture 1object oriented programing lecture 1
object oriented programing lecture 1
 
the Concept of Object-Oriented Programming
the Concept of Object-Oriented Programmingthe Concept of Object-Oriented Programming
the Concept of Object-Oriented Programming
 
Serialization
SerializationSerialization
Serialization
 
Serialization
SerializationSerialization
Serialization
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
Oops
OopsOops
Oops
 
Chapter 6 OOPS Concept
Chapter 6 OOPS ConceptChapter 6 OOPS Concept
Chapter 6 OOPS Concept
 

Similar to Object Oriented Programming

Use Classes with Object-Oriented Programming in C++.ppt
Use Classes with Object-Oriented Programming in C++.pptUse Classes with Object-Oriented Programming in C++.ppt
Use Classes with Object-Oriented Programming in C++.ppt
manishchoudhary91861
 
Object oriented basics
Object oriented basicsObject oriented basics
Object oriented basics
vamshimahi
 

Similar to Object Oriented Programming (20)

MCA NOTES.pdf
MCA NOTES.pdfMCA NOTES.pdf
MCA NOTES.pdf
 
M.c.a. (sem iv)- java programming
M.c.a. (sem   iv)- java programmingM.c.a. (sem   iv)- java programming
M.c.a. (sem iv)- java programming
 
Introducing java oop concepts
Introducing java oop conceptsIntroducing java oop concepts
Introducing java oop concepts
 
OOP
OOPOOP
OOP
 
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptxOBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
OBJECT ORIENTED PROGRAMMING CONCEPTS IN C++.pptx
 
12th ip CBSE chapter 4 oop in java notes complete
12th ip CBSE  chapter 4 oop in java notes complete12th ip CBSE  chapter 4 oop in java notes complete
12th ip CBSE chapter 4 oop in java notes complete
 
Lab 4 (1).pdf
Lab 4 (1).pdfLab 4 (1).pdf
Lab 4 (1).pdf
 
Object oriented programming concept
Object oriented programming conceptObject oriented programming concept
Object oriented programming concept
 
Use Classes with Object-Oriented Programming in C++.ppt
Use Classes with Object-Oriented Programming in C++.pptUse Classes with Object-Oriented Programming in C++.ppt
Use Classes with Object-Oriented Programming in C++.ppt
 
chapter - 1.ppt
chapter - 1.pptchapter - 1.ppt
chapter - 1.ppt
 
Object oriented vs. object based programming
Object oriented vs. object based  programmingObject oriented vs. object based  programming
Object oriented vs. object based programming
 
Object oriented programming
Object oriented programmingObject oriented programming
Object oriented programming
 
PHP OOP Lecture - 01.pptx
PHP OOP Lecture - 01.pptxPHP OOP Lecture - 01.pptx
PHP OOP Lecture - 01.pptx
 
What is clear to you about OOP in Java- and what concepts are still cl.docx
What is clear to you about OOP in Java- and what concepts are still cl.docxWhat is clear to you about OOP in Java- and what concepts are still cl.docx
What is clear to you about OOP in Java- and what concepts are still cl.docx
 
Ah java-ppt2
Ah java-ppt2Ah java-ppt2
Ah java-ppt2
 
Object oriented basics
Object oriented basicsObject oriented basics
Object oriented basics
 
Benefits of encapsulation
Benefits of encapsulationBenefits of encapsulation
Benefits of encapsulation
 
Oops concepts
Oops conceptsOops concepts
Oops concepts
 
OOP_presentation.pptx
OOP_presentation.pptxOOP_presentation.pptx
OOP_presentation.pptx
 
Abap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorialsAbap object-oriented-programming-tutorials
Abap object-oriented-programming-tutorials
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 

Object Oriented Programming

  • 2. Features of OOP  1.Class  2.Object  3.Data Abstraction  4.Encapsulation  5.Inheritence  6.Polymorphism  7.Dynamic Binding 2/14/2018 2
  • 3. CLASS  A class is a blueprint or prototype, that defines the variables and the methods common to all objects of a certain kind.  Static variable- which contain information that is shared by all the instances of the class.  Static method- which can be invoked directly from the class. 2/14/2018 3
  • 4. Objects 2/14/2018 4 An object is a unique entity, that contains data and functions together in an OOP language
  • 5. DATA ABSTRACTION 2/14/2018 5  It refers to the act of representing essential data without including the background details of explaination.
  • 6. Polymorphism 2/14/2018 6  Ability of an object to take than one form.
  • 7. Inheritance 2/14/2018 7  It is the capability of one class of things to inherit capabilities or properties from another class
  • 8. Dynamic Binding 2/14/2018 8 Process to link function call with function signature at runtime.
  • 9. Encapsulation 2/14/2018 9  The wrapping up of data and operations of functions into a single unit is known as encapsulation
  • 10. Advantages of OOP 2/14/2018 10  1.It gives stress on data items Rather on functions.  2.Offers code reusability.  3.Highly beneficial to solve complex program.  4.Makes it easy to maintain and modify existing code.
  • 11. Disadvantages of OOP 2/14/2018 11  1.classes are overly generalised.  2.Needs proper planning and proper design for OOP.  3.design is tricky.  4.Relationship between classes becomes artificial at times.
  • 12. DIFFERENCE BETWEEN POP AND OOP 2/14/2018 12 POP OOP 1.THE STRESS IS PUT ON FUNCTION RATHER THAN THE DATA. 1.THE STRESS IS PUT ON DATA RATHER THAN ON FUNCTION. 2.IT ALLOWS THE DATA TO FLOW FREELY THROUGHOUT THE PROGRAM. 2.THE DATA IS RESTRICTED TO A SPECIFIC PROGRAM AREA. 3.IT DOES NOT HAVE ANY ACCESS SPECIFIER 3.IT HAS 3 ACCESS SPECIFIERS VIZ. public , private, protected. 4.IT FOLLOWS TOP-DOWN PROGRAMMING APPROACH. 4.IT FOLLOWS BOTTOM –UP PROGRAMMING APPROACH.