Answer:
Assigning a string to an object from specific type to a more general type is called covariance.
In contrast, assigning an array of objects to an array of strings, from general type to a more specific type, is referred to as contravariance.
|
Alert Moderator