In a lambda expression, a pair of parentheses is used to define ________.
- Expressions
- Parameters
- Return Types
- Variables
In a lambda expression, a pair of parentheses is used to define the parameters that the lambda expression takes. These parameters can be used within the lambda body to perform operations and computations.
Loading...
Related Quiz
- Can an abstract class in Java have methods that are not abstract?
- Which method is used to write characters to a file in Java?
- Which of the following data types can store a null value in Java?
- What is the effect of calling the yield() method in a thread?
- Which keyword is used in Java to test a condition?