answersLogoWhite

0

Here's my opinion:

Not much really; from a programming perspective I would say the following ...

Property: for example the length of a String i.e. String.Length Generally you do not set it

Attribute: for example the Value of a String i.e. String str = "a string" Generally you would set it

>>>>>>>>>>>>>>>

- attributes: are _given_ by the human to an object
- properties: are _natural_ aspects of an object.

amanpreet

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa

Add your answer:

Earn +20 pts
Q: What is the Difference between attribute and property?
Write your answer...
Submit
Still have questions?
magnify glass
imp