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