Solved

Suppose a Generic Method Accepts a Generic Unconstrained Argument P

Question 32

Multiple Choice

Suppose a generic method accepts a generic unconstrained argument p. What restrictions are placed on p by the compiler?


A) Can only execute Object class methods.
B) Can only execute methods from its own class.
C) Can not execute any methods.
D) There are no restrictions.

Correct Answer:

verifed

Verified

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

Related Questions