Introduction To Object Oriented Programming and Classes – In this article we are going to start talking about object oriented programming which is the core of all object oriented programming Classes or frameworks we need to understand the basics first. The bottom of any object oriented programming we have what we call a class.
Now let’s go ahead and use an analogy because I think this is the best way for us to really grasp this idea of classes and objects and so forth. It’s a very crucial one. So the analogy here is a very simple one which is a microphone. I love microphones in fact I use them every day to record courses. Now the microphone in the real world we call it an object just like a car is an object your chair your desk your phone.
Also Read: Download Responsive Registration Form Using Bootstrap Code
Objects
Those are objects in the real world. But the idea here is that the question that should we should ask yourself Is that how did the microphone become a microphone. That is the question indeed. So if we go back to see how the microphone became microphone. Of course there is a lot of details to create a microphone. There is a lot of things that go into actually having a microphone right.
Examples
So before the microphone became microphone somebody or a team of people had to come together and design that microphone essentially they had to put together a blueprint the model or a model of what would end up being a microphone. And once they had that blueprint then they were able to send it to where well to the manufacturer or the factory where they had all the tools and all the parts needed to actually build the microphone right in order to have a microphone.
Blueprint in OOP
We have to have a blueprint the model that we could call it and then this blueprint of the model is taken to the manufacturer who will know exactly what to do in order to create an actual microphone which is the object in this case that we can just buy and start utilizing it. Now with that analogy. So we said here we have this blueprint.
2 thoughts on “Introduction To Object Oriented Programming and Classes”
Pingback: Learn JavaScript Fast by Building 7 Games - Full Course - CodeGuru
Pingback: SteelSeries Arctic 3 2019 Edition Wireless Elevating Your Gaming Experience