Question: Which lambda expression cannot be assigned to a DoubleToLongFunction functional interface? A. a -> null==null ? 1 : 2L B. e -> (int)(10.0*e) C. (double
Which lambda expression cannot be assigned to a DoubleToLongFunction functional interface?
A. a -> null==null ? 1 : 2L
B. e -> (int)(10.0*e)
C. (double m) -> {long p = (long)m; return p;}
D. (Double s) -> s.longValue()
E. All of these can be assigned.
Step by Step Solution
3.44 Rating (157 Votes )
There are 3 Steps involved in it
The answer to your question is B e int100e Lets analyze each option A a nullnull 1 2L This lambda ex... View full answer
Get step-by-step solutions from verified subject matter experts
