PPS Unit 5
PPS Unit 5
https://www.studymedia.in/fe/notes
Unit 5 :Object Oriented Programming
Syllabus :
Programming Paradigms :
Monolithic
Procedural
Structured
Object oriented
Features of Object oriented programming :
Classes, Objects, Methods and Message passing
Inheritance, Polymorphism, Containership
Reusability, Delegation, Data abstraction and
encapsulation.
Other Subjects: https://www.studymedia.in/fe/notes
Unit 5 :Object Oriented Programming
Syllabus :
Classes and Objects :
Classes and Objects
Class method and self object
Class variables and Object variables
Public and private members
Class methods
Advantages :
Same function can be used multiple times in one
program whenever the operation is needed.
It reduces redundancy(repetition of syntax to reduce errors )
in program.
It makes program readable.
Other Subjects: https://www.studymedia.in/fe/notes
Introduction to Programming Paradigm
Disadvantages
• Code size is increased with this approach.
• Data can be modified by any procedure.
• Data is not protected properly.
• This approach makes program un-structured and
poor in readability.
Disadvantage
Dependence of a class on other class may lead to
inefficient programs.
Output :