Solved

Which of the Following Statements Is False

Question 3

Multiple Choice

Which of the following statements is false?


A) Wildcard type arguments enable you to specify method parameters, return values, variables, and so on, that act as supertypes of parameterized types.
B) A wildcard-type argument is denoted by ?, which represents an "unknown type."
C) Because a wildcard is a type-parameter name, you can use it as a type name throughout a method's body.
D) If a wildcard is specified without an upper bound, then only the methods of type Object can be invoked on values of the wildcard type.

Correct Answer:

verifed

Verified

Related Questions