+ 2
Object oriented programming
Please how do oop works . Cos i have heard a lot about it.đ
4 Answers
+ 3
Objects are like templates that you can use over and over for different purposes (just defining their properties according to your needs).
Like a pencil and a pen: both of them are cylindrical objects that we can sketch with them. So we define an object called "item to draw" . When we want to use one of it we just "call" the item to draw but we need to specify (with a property or attribute) if we want it with ink or graphite.
This approach works with methods or functions and so on... Is like writing pieces of code for build a bigger program without the need of defining over and over the "same thing".
+ 1
oop is simply creating code with different objects that can be manipulated throughtout the code but is seperate from each other. in this way..you can debug things easier..do group projects easier and just make code that is overall easier to deal with.
0
Thanks.
- 2
https://www.sololearn.com/Discuss/1819573/?ref=app
Sololearn survey 2019