Science Fair Project Encyclopedia
Contravariance
As used in computer science, in particular in object oriented programming, contravariance means that arguments of overriding methods can take arguments supertypes of the original arguments. This constrasts with the related concepts: covariance (arguments have to be of subtype), and invariance (arguments have to be of exactly the same type).
See also: contravariant.
External link
10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details


