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
introduction-to-object-oriented-programming.ppt
PPT
introduction-to-object-oriented-programming.ppt
PPTX
Object Oriented Programming fundamentals.pptx
PPTX
Object Oriented Programming Language is an oop
PPT
OOP intro.ppt
PPT
Programming paradigm.ppt
Objects and Instances.ppt
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
introduction-to-object-oriented-programming.ppt
Object Oriented Programming fundamentals.pptx
Object Oriented Programming Language is an oop
OOP intro.ppt
Programming paradigm.ppt

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

PPTX
Object oriented programming
PDF
Oops concepts || Object Oriented Programming Concepts in Java
PPTX
Intro to object oriented programming.pptx
DOCX
What is oops concept in java?
PPTX
OOP.pptx
PPTX
INTRODUCTION AND BASIC CONCEPT OF OOAD.pptx
PPT
Ashish oot
PPTX
OOP Lesson 2.pptx
PPTX
Oops concepts
PPTX
Introduction to Java Programming beginners.pptx
DOCX
Java OOPs Concepts.docx
DOCX
javaopps concepts
PDF
Object oriented software engineering concepts
PPTX
Object Oriented Programming using c++ main four piller in this
PPTX
Object Oriented Programming.pptx its a opps concept in c++ which is helpful
PPTX
OOPS in Java
PDF
PPTX
object oriented programming and methodology.pptx
PPTX
Java oo ps concepts
DOCX
A Survey of Object Oriented Programming LanguagesMaya Hris.docx
Object oriented programming
Oops concepts || Object Oriented Programming Concepts in Java
Intro to object oriented programming.pptx
What is oops concept in java?
OOP.pptx
INTRODUCTION AND BASIC CONCEPT OF OOAD.pptx
Ashish oot
OOP Lesson 2.pptx
Oops concepts
Introduction to Java Programming beginners.pptx
Java OOPs Concepts.docx
javaopps concepts
Object oriented software engineering concepts
Object Oriented Programming using c++ main four piller in this
Object Oriented Programming.pptx its a opps concept in c++ which is helpful
OOPS in Java
object oriented programming and methodology.pptx
Java oo ps concepts
A Survey of Object Oriented Programming LanguagesMaya Hris.docx
Ad

Recently uploaded (20)

PPTX
CONTRACTS IN CONSTRUCTION PROJECTS: TYPES
PPTX
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
PPTX
PRASUNET_20240614003_231416_0000[1].pptx
PPTX
Amdahl’s law is explained in the above power point presentations
PPT
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
PDF
Introduction to Power System StabilityPS
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PDF
Java Basics-Introduction and program control
PDF
Computer System Architecture 3rd Edition-M Morris Mano.pdf
PDF
MLpara ingenieira CIVIL, meca Y AMBIENTAL
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
Software Engineering and software moduleing
PPTX
wireless networks, mobile computing.pptx
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
PDF
Computer organization and architecuture Digital Notes....pdf
CONTRACTS IN CONSTRUCTION PROJECTS: TYPES
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
PRASUNET_20240614003_231416_0000[1].pptx
Amdahl’s law is explained in the above power point presentations
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
Introduction to Power System StabilityPS
Module 8- Technological and Communication Skills.pptx
20250617 - IR - Global Guide for HR - 51 pages.pdf
Java Basics-Introduction and program control
Computer System Architecture 3rd Edition-M Morris Mano.pdf
MLpara ingenieira CIVIL, meca Y AMBIENTAL
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
Software Engineering and software moduleing
wireless networks, mobile computing.pptx
Information Storage and Retrieval Techniques Unit III
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
Management Information system : MIS-e-Business Systems.pptx
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
A Brief Introduction to IoT- Smart Objects: The "Things" in IoT
Computer organization and architecuture Digital Notes....pdf
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.