What is the meaning of ( ) in the following lambda?
```
() -> System.out.println("Welcome to lambdas!")
```
a. the lambdas parameters are inferred
b. the lambdas parameters are supplied by a method reference
c. the lambda has an empty parameter list
d. the given expression is not a valid lambda
c. the lambda has an empty parameter list
Computer Science & Information Technology
You might also like to view...
Which methods can be used to change the scrollbar policies?
a. setHoizontalPolicy, setVerticalPolicy. b. setHorizontal, setVertical. c. setHPolicy, setVPolicy. d. setHorizontalScrollBarPolicy, setVerticalScrollBarPolicy.
Computer Science & Information Technology
String method Split returns a __________ array representing the tokens.
a) Text b) Delimiter c) Token d) String
Computer Science & Information Technology