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...

By using a(n) ________ you can quickly advance to the part of a video you want to display or to trigger an event in an animation

Fill in the blank(s) with correct word

Computer Science & Information Technology

The Find and ________ tool searches for and changes indicated data within an Access database

Fill in the blank(s) with correct word

Computer Science & Information Technology