You are on page 1of 7

Programming Languages

Object Oriented
Paradigm

Dr. M. Tanvir Afzal


Programming Languages : Object Oriented Paradigm
Programming Paradigms

2
Programming Languages : Object Oriented Paradigm

Object-Oriented Paradigm

 Associated with the programming


process called object-oriented
programming (OOP).
 software system is viewed as a collection
of units, called objects

3
Programming Languages : Object Oriented Paradigm

Objects
 Each object is capable of performing
the actions that are immediately
related to itself as well as requesting
actions of other objects.
 Together, these objects interact to
solve the problem at hand

4
Programming Languages : Object Oriented Paradigm

Developing GUI

 Icons will be implemented as objects


 Each object will have its own collection of
functions called Methods

5
Programming Languages : Object Oriented Paradigm

Difference of List in imperative and OO-


Paradigm
 You need your algorithm for searching
sorting etc in imperative, however, in OO-
paradigm, all functionality will be
available along with the list in terms of
object
 Such Description is called Class

6
Summary

Programming Languages: Object-


oriented Paradigm
 Object-oriented paradigm
 Objects
 Examples
 Class

You might also like