+ 1

Help!

Can anybody please explain me about OOP with examples?

27th Oct 2018, 4:02 PM
Programmer Karim
Programmer Karim - avatar
8 Réponses
27th Oct 2018, 4:10 PM
Shruti
Shruti - avatar
+ 2
in simple words : "class"-act as a blueprint from which objects are created. "methods"-are the functions inside a class . "Getters" - allows you to get values ​​(read values). "Setters" - write values ​​to a variable.
27th Oct 2018, 4:19 PM
Shruti
Shruti - avatar
+ 2
don't ask anything, if you do it by yourself then you definitely understand it, so write a code in your code playground, and see what happens.
27th Oct 2018, 4:34 PM
Shruti
Shruti - avatar
+ 1
Yeah, I am trying that itself... Thanks!
27th Oct 2018, 4:35 PM
Programmer Karim
Programmer Karim - avatar
0
I didn't understand class, methods, getters and setters
27th Oct 2018, 4:11 PM
Programmer Karim
Programmer Karim - avatar
0
Yes, I understood their definition but I don't know how to use it, actually I can't get it
27th Oct 2018, 4:20 PM
Programmer Karim
Programmer Karim - avatar
0
Didn't understand yet...Thanks anyway!
27th Oct 2018, 4:30 PM
Programmer Karim
Programmer Karim - avatar