CodePhataa
Home
GoAlgo
Revision Hub
Learning Path
Challenge
Compiler
More
Toggle theme
Open menu
Generics, PECS, and Type Erasure | Java Flashcards | CodePhataa | CodePhataa
Generics, PECS, and Type Erasure
Decks
Generics, PECS, and Type Erasure
01
/
34
Why
Question
What are generics for?
Tap to reveal
Answer
Compile-time proofs so List cannot add Integer. Runtime is erased.