SlideShare a Scribd company logo
Object-oriented programming (OOP) is a
programming paradigm using "objects" – data
structures consisting of data fields and methods
together with their interactions – to design
applications and computer programs. Programming
techniques may include features such as data
abstraction, encapsulation, messaging, modularity,
polymorphism, and inheritance. Many modern
programming languages now support OOP.
A programming paradigm is a fundamental style
of computer programming. Paradigms differ in
the concepts and abstractions used to
represent the elements of a program (such as
objects, functions, variables, constraints, etc.)
and the steps that compose a computation
(assignment, evaluation, continuations, data
flows, etc.).
In object-oriented programming, a class is a construct that is used
as a blueprint to create instances of the class (class instances,
class objects, instance objects or just objects). A class defines
constituent members which enable class instances to have state
and behavior. Data field members (member variables or instance
variables) enable a class object to maintain state. Other kinds of
members, especially methods, enable a class object's behavior.
Class instances are of the type of the associated class.
For example, an instance of the class "Fruit" (a "Fruit" object)
would be of the type "Fruit". A class usually represents a noun, such
as a person, place or (possibly quite abstract) thing. Programming
languages that include classes as a programming construct subtly
differ in their support for various class-related features. Most
support various forms of class inheritance. Many languages also
support advanced encapsulation control features, such as access
specifiers.
Object is an run time entity.
Is an Instance of class
Represents a Place ,Person ,anything that have
some attributes.
There is a very important distinction between an
object and an instance of an object. An object is
actually a definition, or a template for instances of
that object. An instance of an object is an actual
thing that can be manipulated. For instance, we could
define a Person object, which may include such
member data as hair color, eye color, height, weight,
etc. An instance of this object could be "Dave" and
Dave has values for hair color, eye color, etc. This
allows for multiple instances of an object to be
created.
A superclass, base class, or parent class is a class
from which other classes are derived. The classes
that are derived from a superclass are known as
child classes, derived classes, or subclasses.
In object-oriented programming (OOP),
inheritance is a way to compartmentalize and
reuse code by creating collections of attributes
and behaviors called objects which can be based
on previously created objects.

More Related Content

PPT
Objects and Instances.ppt
PPT
introduction-to-object-oriented-programming.ppt
PPT
OOP intro.ppt
PPT
introduction-to-object-oriented-programming.ppt
PPT
introduction-to-object-oriented-programming.ppt
PPTX
Object Oriented Programming Language is an oop
PPTX
Object Oriented Programming fundamentals.pptx
PPTX
object oriented programing lecture 1
Objects and Instances.ppt
introduction-to-object-oriented-programming.ppt
OOP intro.ppt
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
Object Oriented Programming Language is an oop
Object Oriented Programming fundamentals.pptx
object oriented programing lecture 1

Similar to Introduction to Object Oriented Programming.2.ppt (20)

PPT
General OOP concept [by-Digvijay]
PPTX
PPT_Object Oriented Programming .pptx
PPTX
PPT_Object Oriented Programming (2).pptx
PPTX
OOP.pptx
PPT
Software Engineering Lec5 oop-uml-i
PPTX
OOP Presentation.pptx
PPTX
OOP Presentation.pptx
PPTX
Object oriented programming
PPT
Lecture 2
PPTX
yo.pptxoajsdisa odasjd asodjaojdoawjdoasjdow
PPT
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
PPT
Object -oriented analysis and design.ppt
DOC
Chapter1
PPT
Basic concepts of oops
PPTX
CPP-Unit 1.pptx
PPTX
Lecture 1 oop
PPT
Object-oriented concepts
PDF
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
PDF
L1-Introduction to OOPs concepts.pdf
General OOP concept [by-Digvijay]
PPT_Object Oriented Programming .pptx
PPT_Object Oriented Programming (2).pptx
OOP.pptx
Software Engineering Lec5 oop-uml-i
OOP Presentation.pptx
OOP Presentation.pptx
Object oriented programming
Lecture 2
yo.pptxoajsdisa odasjd asodjaojdoawjdoasjdow
Java Fundamentalojhgghjjjjhhgghhjjjjhhj.ppt
Object -oriented analysis and design.ppt
Chapter1
Basic concepts of oops
CPP-Unit 1.pptx
Lecture 1 oop
Object-oriented concepts
UNIT1- OBJECT ORIENTED PROGRAMMING IN JAVA- AIML IT-SPPU
L1-Introduction to OOPs concepts.pdf
Ad

Recently uploaded (20)

PPTX
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
PPT
Project quality management in manufacturing
PPTX
436813905-LNG-Process-Overview-Short.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
DOCX
573137875-Attendance-Management-System-original
PDF
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
PPTX
Simulation of electric circuit laws using tinkercad.pptx
PDF
Geotechnical Engineering, Soil mechanics- Soil Testing.pdf
PPTX
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
composite construction of structures.pdf
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
anatomy of limbus and anterior chamber .pptx
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPT
Chapter 6 Design in software Engineeing.ppt
PDF
오픈소스 LLM, vLLM으로 Production까지 (Instruct.KR Summer Meetup, 2025)
PDF
Monitoring Global Terrestrial Surface Water Height using Remote Sensing - ARS...
MET 305 MODULE 1 KTU 2019 SCHEME 25.pptx
Project quality management in manufacturing
436813905-LNG-Process-Overview-Short.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
573137875-Attendance-Management-System-original
BRKDCN-2613.pdf Cisco AI DC NVIDIA presentation
Simulation of electric circuit laws using tinkercad.pptx
Geotechnical Engineering, Soil mechanics- Soil Testing.pdf
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
Arduino robotics embedded978-1-4302-3184-4.pdf
Strings in CPP - Strings in C++ are sequences of characters used to store and...
composite construction of structures.pdf
Lesson 3_Tessellation.pptx finite Mathematics
anatomy of limbus and anterior chamber .pptx
OOP with Java - Java Introduction (Basics)
Operating System & Kernel Study Guide-1 - converted.pdf
Chapter 6 Design in software Engineeing.ppt
오픈소스 LLM, vLLM으로 Production까지 (Instruct.KR Summer Meetup, 2025)
Monitoring Global Terrestrial Surface Water Height using Remote Sensing - ARS...
Ad

Introduction to Object Oriented Programming.2.ppt

  • 1. Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance. Many modern programming languages now support OOP.
  • 2. A programming paradigm is a fundamental style of computer programming. Paradigms differ in the concepts and abstractions used to represent the elements of a program (such as objects, functions, variables, constraints, etc.) and the steps that compose a computation (assignment, evaluation, continuations, data flows, etc.).
  • 3. In object-oriented programming, a class is a construct that is used as a blueprint to create instances of the class (class instances, class objects, instance objects or just objects). A class defines constituent members which enable class instances to have state and behavior. Data field members (member variables or instance variables) enable a class object to maintain state. Other kinds of members, especially methods, enable a class object's behavior. Class instances are of the type of the associated class. For example, an instance of the class "Fruit" (a "Fruit" object) would be of the type "Fruit". A class usually represents a noun, such as a person, place or (possibly quite abstract) thing. Programming languages that include classes as a programming construct subtly differ in their support for various class-related features. Most support various forms of class inheritance. Many languages also support advanced encapsulation control features, such as access specifiers.
  • 4. Object is an run time entity. Is an Instance of class Represents a Place ,Person ,anything that have some attributes.
  • 5. There is a very important distinction between an object and an instance of an object. An object is actually a definition, or a template for instances of that object. An instance of an object is an actual thing that can be manipulated. For instance, we could define a Person object, which may include such member data as hair color, eye color, height, weight, etc. An instance of this object could be "Dave" and Dave has values for hair color, eye color, etc. This allows for multiple instances of an object to be created.
  • 6. A superclass, base class, or parent class is a class from which other classes are derived. The classes that are derived from a superclass are known as child classes, derived classes, or subclasses. In object-oriented programming (OOP), inheritance is a way to compartmentalize and reuse code by creating collections of attributes and behaviors called objects which can be based on previously created objects.