Solved

What Is the Best Technique for Overcoming the Restriction for the Use

Question 72

Multiple Choice

What is the best technique for overcoming the restriction for the use of primitives, such as int, in generic classes and methods?


A) do not use generic methods when using primitives
B) use String and decode values with a method such as Integer.parseInt
C) use of wrapper classes
D) use of the Object type

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions