Fill in the code below in the underline:

```
public class Test {
public static void main(String[] args) {
Test test = new Test();
test.setAction2(______________________________);
}

public void setAction2(T2 t) {
t.m(4.5);
}
}

interface T2 {
public void m(Double d);
}
```
a. () -> System.out.print(e)
b. (e) -> System.out.print(e)
c. e -> System.out.print(e)
d. (e) -> {System.out.print(e);}

bcd

Computer Science & Information Technology

You might also like to view...

How many gigabytes (GB) of data does the standard DVD hold?

A. 4.7 B. 32 C. 128 D. 256

Computer Science & Information Technology

Solve the following time-rate-distance problems using the IPO method. Ignore time zones.

Solve the following time-rate-distance problems using the IPO method. Ignore time zones.

Computer Science & Information Technology