Are you an EPFL student looking for a semester project?
Work with us on data science and visualisation projects, and deploy your project as an app on top of Graph Search.
This lecture covers the interactions between subtyping and generics, focusing on type bounds, variance, and covariance. It explains how to use upper bounds, lower bounds, and mixed bounds for type variables, as well as the Liskov Substitution Principle. The lecture also discusses the challenges of covariant array typing using examples from Java and Scala.