Python Tutorial for Beginners 23 - Introduction to Object-Oriented Programming (OOP)

preview_player
Показать описание
In this Python Tutorial for Beginners Video, I am going to give the Introduction to Object-Oriented Programming (OOP). I will start with the differences between Procedural and Object-Oriented Programming. Then we will discuss why we need Object-Oriented Programming. What is Object-Oriented Programming. What are classes, what is an object, what are member variables and methods .
Procedural Programming
----------------------------------------------
C, Pascal
unit – function
concentrates on creating functions
data and operations on the data are separated.
methodology requires sending data to procedure/functions.

Object-Oriented Programming
---------------------------------------------------------
C++, Java, Python
unit – class
centered on creating objects
Object: A single software unit that combines data and methods
Data in an object are known as attributes.
Procedures/functions in an object are known as methods.

#PythonTutorialforBeginners #ProgrammingKnowledge #LearnPython #PythonCourse
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

Brilliant way of teaching sir, hats off to the effort you put in patiently elaborating nifty little things on such concepts.

aminvogue
Автор

Hey you are a real hero. What a good way to explain each and every stuff. Thanks a lot!!!!

himanshukumar-wgsc
Автор

now this is awesome unlike the video in the(python tutorial for absolute beginners). great work

ayush
Автор

This is an amazing tutorial! Excellent explanation, I recommed watching the video if you're hesitant.

jernejoblak
Автор

That was a very good video my friend. Well explained, clear, the example is well chosen. Bravo! We can tell you've put a lot of work into it. Thank you!

effuseakay
Автор

You explain things are a good level and clear. I have already shared this with a buddy. thank you

koltonjones
Автор

For ease, class is a way to specific objects and functiono bind it in .
Class {
Bird ()
} #we created a object bird
When we give functions to it like weather, legs, peaks, mouths and weight.
We can only take functions invoked in objects in birds
If you type rice() or car () it doesn't give output . So it is a way specifically for objects and functions

bird

vigneshbegins
Автор

0:48 I like how you say "Al Gore Rythm" ☺

axel_r_