What is the simplest description of getters and setters | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the simplest description of getters and setters

Answer should include code

19th Mar 2020, 11:56 AM
Kondwani Mwape
Kondwani Mwape - avatar
4 Answers
+ 4
Use google and "python getter and setter" and you will get all you want to know. And you will also find nice code snippets.But it's up to you to work through all of this stuff.
19th Mar 2020, 12:19 PM
Lothar
Lothar - avatar
+ 3
You can find excellent sources on the web. Read and try to understand. Do code sample to improve your knowledge. If you then stuck somewhere come back to get help.
19th Mar 2020, 12:36 PM
Lothar
Lothar - avatar
0
Obviously ive tried that
19th Mar 2020, 12:20 PM
Kondwani Mwape
Kondwani Mwape - avatar
0
I thought it'd be better here since im able to interact with the person giving the answer
19th Mar 2020, 12:21 PM
Kondwani Mwape
Kondwani Mwape - avatar