Solved

Which of the Following Correctly Defines a Functional Interface That

Question 81

Multiple Choice

Which of the following correctly defines a functional interface that, given an object, returns the value of a Coin?


A) (Object obj) => ((Coin) obj) .getValue()
B) (Object obj) -> (Coin) obj.getValue()
C) (Object obj) => (Coin) obj.getValue()
D) (Object obj) -> ((Coin) obj) .getValue()

Correct Answer:

verifed

Verified

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

Related Questions