Jump to content

Talk:Instance variable

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Christian75 (talk | contribs) at 20:51, 6 July 2014 (Assessment: +Computing (assisted)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing Unassessed
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.

Would it be more correct to say "... for which each object *of* the class has a separate copy"?

Not a paradigm

No? Thebigclaw (talk) 04:23, 13 April 2008 (UTC)[reply]

I think the standard way to say this is "non-static member variable" but perhaps there is some subtle technical difference.66.112.225.87 (talk) 19:26, 21 August 2010 (UTC)[reply]

Override has special meaning.

At: However the current location referenced in one object may be San Francisco, USA, and you would want to override the default value to currLatitude = 37.7750, but another object may reference La Paz, Bolivia and you would instead want currLatitude = 16.4942. the term 'override' should not be used, as this has a special meaning in a number of OOP languages. It is also more technical than is required. 'change' is adequate.

However the current location referenced in one object may be San Francisco, USA, and you would want to change the default value to 37.7750. Another object may reference La Paz, Bolivia and you would want to change currLatitude to 16.4942. — Preceding unsigned comment added by 101.117.35.119 (talk) 01:01, 15 April 2014 (UTC)[reply]