OOP Week1 Class1
OOP Week1 Class1
Programming
Week 1 - Class 1
Presented By
Md. Fahim Faisal
Lecturer, Dept. of CSE, AMUST
Historical Evolution of Programming
• Early programming methods: toggling switches on computer panels.
• Switches for manual input on a Data General Nova 3, manufactured in the mid-1970s
• 16-bit mini computer
Image src: Wikipedia IBM System/360 Front Panel (youtube.com)
Introduction to Object-Oriented Programming
• Need for a new programming approach.
• Provides security
Polymorphism
• Greek words “poly” and “morphism”.
• “poly” means many and “morphism” means form i.e.. many forms.
• Inheritance: Through this we can eliminate redundant code and extend the
use of existing classes.
• Data Hiding: The programmer can hide the data and functions in a class
from other classes. It helps the programmer to build the secure programs.
To add new data and function in POP is not so easy. OOP provides an easy way to add new data and function.
4
Difference Between POP & Object Oriented Programming OOP