Solved

If the Java Compiler Can Infer a Generic Object's Type

Question 16

Multiple Choice

If the Java compiler can infer a generic object's type from the context, you can replace <type> with <> when creating the object. In this context, <> is referred to as the ________ operator.


A) type
B) less than-greater than
C) inference
D) diamond

Correct Answer:

verifed

Verified

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

Related Questions