Which concept allows generic collections to interoperate with java code that defines collections that use raw types?

Which concept allows generic collections to interoperate with java code that defines
collections that use raw types?

Which concept allows generic collections to interoperate with java code that defines
collections that use raw types?

A.
type erasure

B.
auto-unboxing

C.
bytecode manipulation

D.
casting

E.
autoboxing



Leave a Reply 2

Your email address will not be published. Required fields are marked *


leo yu

leo yu

A&E, type-erasure incur that the bounded type or object type replace the type parameter, and the autoboxing incur that the raw-type is replaced by the wrapper type