menu

Advanced Python Part-1

Object Oriented Programming

Object oriented programming was developed in the 1960’s for a language called samula67 and later used for smalltalk language.

OOP is a paradigm (a pattern or model) for code organization and design

The OOP paradigm:

  • Organizes data into objects and functionality into methods
  • Defines object specifications (data and methods) in classes
  • Promotes collaboration, code extension and maintenance
  • OOP is the primary paradigm for software design worldwide
Important Keywords and definations:

Class: Class is a blue print

Object: Object is a physical existance of a class

Example Sample Class: