+ 1
Help!
Can anybody please explain me about OOP with examples?
8 Réponses
+ 3
Please view this link :
https://coderanch.com/mobile/t/463484/java/explanation-getter-setter-methods-difference
+ 2
you can view this link:
https://www.sololearn.com/discuss/1420912/?ref=app
+ 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.
+ 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.
+ 1
Yeah, I am trying that itself... Thanks!
0
I didn't understand class, methods, getters and setters
0
Yes, I understood their definition but I don't know how to use it, actually I can't get it
0
Didn't understand yet...Thanks anyway!