Solved

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

Question 36

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents