+2 votes
in JAVA by
Which of the following is the correct lambda expression, which adds two numbers and returns their sum?

None of the options

(int a, int b) -> a + b;

Both the options

(a, b) -> a + b

Related questions

0 votes
asked May 22, 2022 in JAVA by AdilsonLima
+3 votes
asked May 13, 2021 in JAVA by rajeshsharma
...