python programming | Introduction of Object oriented programming using python |
Introduction of Object oriented programming
in python:-
Python is Multi-paradigm programming language
meaning it support different programming approach.
python programming | Introduction of Object oriented programming using python
Introduction of Object oriented programming (oop) in python:-
Python is Multi-paradigm programming language meaning it support different programming approach.
In OOP creating an object/ instance of a class is popular approach to solve a programming problem this approach is called Object oriented programming.
Object it has two characteristics :
Introduction of Object oriented programming in python |
Object it has two characteristics :
1.Attributes
2.Behavior
2.Behavior
Human is an object :-
· Name ,age ,color are attributes
· Walking ,dancing ,running, speaking …etc are behavior
Python is an Object oriented programming language .almost everything in python is an object with as properties and method .
The concept of Object oriented programming in python focuses on creating reusable code
There are three widely used programming paradigms there-procedural programming, function programming and Object oriented programming (oop). python support all three programming paradigms. But mostly used Object oriented programming (oop) paradigms.
Object oriented program is programming style that associated with concept of object having data field and related member function . Everything revolve around object of class which have their method and data members .
Object oriented programming(OOP) :-
Object oriented programming(OOP) :-
Oop is a programming paradigm that uses object and their
interactions to design application and computer programmers .
Post a Comment