When the compiler translates a generic method into Java bytecodes, it uses __________ to replace the type parameters with actual types.

a. erasure.
b. compile-time type replacement.
c. compile-time type checking.
d. compile-time type safety.

a. erasure.

Computer Science & Information Technology

You might also like to view...

Placement and size of text boxes can only be adjusted in the Property Sheet window

Indicate whether the statement is true or false

Computer Science & Information Technology

Name one advantage and one disadvantage to using both vector graphics and bitmap images

What will be an ideal response?

Computer Science & Information Technology