Assignment in Object Oriented Languages
In most object oriented languages, the expression object1 = object2
assigns a reference of the object2
to object1
.
Read more about this topic: Assignment (computer Science)
Famous quotes containing the words object and/or languages:
“The great end of all human industry is the attainment of happiness. For this were arts invented, sciences cultivated, laws ordained, and societies modelled, by the most profound wisdom of patriots and legislators. Even the lonely savage, who lies exposed to the inclemency of the elements and the fury of wild beasts, forgets not, for a moment, this grand object of his being.”
—David Hume (17111776)
“The trouble with foreign languages is, you have to think before your speak.”
—Swedish proverb, trans. by Verne Moberg.