Solved

What Does the Following Lambda Expression Do, Assuming the Variable

Question 46

Multiple Choice

What does the following lambda expression do, assuming the variable p is of type double and the variable q is of type int?
(p, q) -> p * q


A) Returns the quotient of p and q.
B) Returns the value of p multiplied by q.
C) This is not a valid lambda expression.
D) Returns the average of p and q.

Correct Answer:

verifed

Verified

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

Related Questions