Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#bloch-effective-java-2ed #java #java-generics
Question
Generics are implemented by [...]. This means that they enforce their type constraints only at compile time and [...] their element type information at runtime. By contrast, array types are reified, so they can enforce their type at runtime (e.g. if you try to store a String into an array of Long, you’ll get an ArrayStoreException).
Answer
erasure / discard (or erase)

Tags
#bloch-effective-java-2ed #java #java-generics
Question
Generics are implemented by [...]. This means that they enforce their type constraints only at compile time and [...] their element type information at runtime. By contrast, array types are reified, so they can enforce their type at runtime (e.g. if you try to store a String into an array of Long, you’ll get an ArrayStoreException).
Answer
?

Tags
#bloch-effective-java-2ed #java #java-generics
Question
Generics are implemented by [...]. This means that they enforce their type constraints only at compile time and [...] their element type information at runtime. By contrast, array types are reified, so they can enforce their type at runtime (e.g. if you try to store a String into an array of Long, you’ll get an ArrayStoreException).
Answer
erasure / discard (or erase)
If you want to change selection, open document below and click on "Move attachment"

Open it
Generics are implemented by erasure. This means that they enforce their type constraints only at compile time and discard (or erase) their element type information at runtime. By contrast, array types are reified, so they

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.