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

DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra

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