+ 1
what is use of property in class??
I really don't know how to use of property in class
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
+ 1
I did not get it can u elaborate the answer plz
+ 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.
+ 1
thnx