Monday 1 March 2021

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 ›



from How-To Geek https://ift.tt/3b4BPwf

No comments:

Post a Comment