Web Development TypeScript Mcq
Oct 04, 2025

What is the difference between covariance and contravariance in TypeScript?

Choose the correct answer:
A) Covariance allows subtypes, contravariance allows supertypes
B) They are the same concept
C) Contravariance allows subtypes, covariance allows supertypes
D) Only applies to function parameters
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback