+ 1

what is use of property in class??

I really don't know how to use of property in class

23rd Oct 2016, 9:34 AM
Anurag Sharma
Anurag Sharma - avatar
4 Réponses
+ 3
A property is used to identity an Instance and is also used to change the RAM (Read Access Memory) to ROM (Read Only Memory) I hope this was helpful
23rd Oct 2016, 10:19 AM
Edwin Pratt
Edwin Pratt - avatar
+ 1
I did not get it can u elaborate the answer plz
23rd Oct 2016, 11:05 AM
Anurag Sharma
Anurag Sharma - avatar
+ 1
Property is a unchangeable attribute. You should define its value, when instantiating a object, and it will not change. A example is a birthday, a Person has a birthday defined when he get born, and it will not change anymore.
23rd Oct 2016, 2:37 PM
hugoxrosa
hugoxrosa - avatar
+ 1
thnx
23rd Oct 2016, 4:34 PM
Anurag Sharma
Anurag Sharma - avatar