Object Oriented Programming Paradigm
Object Oriented Programming Paradigm
Lecture by
G.Madhupriya
Assoc. Prof.,
Dept. of CSE,
TCE.
[email protected]
CO2 - Solve engineering problems using imperative paradigm based
sequential programming.
Object Oriented Programming Paradigm
• Real world entity – properties (attributes or data) + functions (methods)
combined together (Grouping of Data and Operations)
• Procedure and Data – Encapsulated
• Class – Data and methods of real world entities combined together -
Encapsulation
• OOPS evolved with the representation of classes
• Because of the development of ever-more complicated computer
applications, data abstraction has become essential to software
engineering
• Procedural Abstraction (Procedural programming paradigm) and Data
Abstraction - Abstraction in OOPS
• Abstraction in OOPS – Information Hiding
• Object-oriented programming can be seen as an attempt to enhance
opportunities for code and data reuse by making it easy to define new
abstractions as extensions or refinements of existing abstractions
Object Oriented Programming Paradigm
• The three fundamental concepts of object-oriented
programming namely encapsulation, inheritance, and dynamic
method binding—have their roots in the Simula programming
language, developed in the mid-1960s.
• Simula was weak in the data hiding part of encapsulation
• Then Clu, Modula, Euclid, and related languages made
important contributions in the 1970s in the data hiding part.
• At the same time, the ideas of inheritance and dynamic method
binding were adopted and refined in Smalltalk over the course
of the 1970s.
• Smalltalk employs a distinctive “message-based” programming
model, with dynamic typing and unusual terminology and
syntax.
Object Oriented Programming Paradigm