Skip to main content

Practice

Generics Lab

⭐⭐ intermediate~40 min of coding3 challenges

PECS signatures in action, a Comparable-bounded max, and the Class-token erasure workaround.

Checking your progress…0%

What you will practice

  1. PECS: Sum Into and Out Of Lists⭐⭐ intermediate
  2. Generic max() with a Bound⭐⭐ intermediate
  3. Erasure Workaround: the Class Token⭐⭐ intermediate

Need the concept first? Re-read the lesson.