Question 18
Back to Exercise
Which lambda parameter list is legal?
- A (var a, String b) -> …
- B (var a, var b) -> … Correct
- C (var a, b) -> …
- D var (a, b) -> …
Correct Answer: Option B
If one parameter uses var, all must; mixing forms is not allowed.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!