What Is Covariance and Contravariance in Programming?


Covariance and contravariance are terms which describe how a programming language handles subtypes. The variance of a type determines whether its subtypes can be used interchangeably with it.

Read This Article on CloudSavvy IT ›


0 Response to What Is Covariance and Contravariance in Programming?

Post a Comment