Property vs Public variable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Property vs Public variable

Still cant figure it out

13th Dec 2016, 1:04 PM
Nuno Anjo
Nuno Anjo - avatar
1 Answer
+ 1
A property allows to change a value of a provar e member variable, while a public member variable cam be accessesd from anywhere
27th Dec 2016, 4:17 PM
Nuno Anjo
Nuno Anjo - avatar