Object Oriented Programming is commonly used programming paradigm.
Let's take a closer look at it.
Early programs were expressed step by step as a list of instructions.
While this approach, called structural or procedural, was good enough to write a simple
applications, with growing complexity and size of the source
code, there was need for something more convenient.
And that's where Object Oriented Programming, or simply OOP, steps in.
OOP solves a problem by creating objects that interact with each other.
An object can be anything, a dog, a game player, or a some UI element such as button.
It describes what a thing is and what it can do.
This is done by writing a class, which is like a template or a blueprint, where you
define it's attributes and methods.
To bring the object to life, you create it's instance, set the attributes and tell it what
to do.
What's great about OOP is that you can create as many instances as you want without the
need to implement functions for each of them.
Object Oriented Programming allows to write code with none or minimal code duplication.
This helps keep programs organized and working with them easier.
And that's it.
Thanks for watching.
If you enjoyed this video, please hit that like button.
And don't forget to subscribe, to see more videos like this in future.

For more infomation >> Indian Air Force is Ready To Hit PAK Nuke Sites : IAF Chief BS Dhanoa - Duration: 1:25. 

For more infomation >> Michelle Obama Claims Republican Party Is Comprised Solely Of White Men - Duration: 3:00.
For more infomation >> Senator Chris Coons Is Worried About Morale In State Department | Morning Joe | MSNBC - Duration: 3:17.
For more infomation >> What Is The Multiverse - Duration: 12:14. 



Không có nhận xét nào:
Đăng nhận xét