Fill in the code below in the underline:
```
public class Test {
public static void main(String[] args) {
Test test = new Test();
test.setAction(______________________________);
}
public void setAction(T1 t) {
t.m();
}
}
interface T1 {
public void m();
}
```
a. () -> System.out.print("Action 1! ")
b. (e) -> System.out.print("Action 1! ")
c. System.out.print("Action 1! ")
d. (e) -> {System.out.print("Action 1! ")}
a. () -> System.out.print("Action 1! ")
Computer Science & Information Technology
You might also like to view...
The core of the operating system is called the ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
A company in need of additional storage, network, and networking services needs which of the following types of cloud computing?
a. Private b. IaaS c. SaaS d. Type 2 Hypervisor
Computer Science & Information Technology