Which of the following are valid lambda expression?
Select one or more:
a) int a)->a+2;
b) ()->System.out.println("Welcome");
c)(int a, int b)->a+b;
d)int a, int b->a+b;
Answers
Answered by
5
Answer:
Option b) and c)
Explanation:
Similar questions