keyword is used to specify that a class will define the methods of an interface implements.
The correct option is 2.
An interface is a shared boundary that allows data to be exchanged between two or more independent computer system components. The exchange may involve software, computer hardware, auxiliary equipment, people, or combinations of these.
Interfaces are what allow your system and others to communicate. Your system's boundaries can be defined by locating interfaces. Understanding interfaces also aids in understanding the dependencies that your system both has on other systems and other systems have on your system.
To know more about interface visit:
https://brainly.com/question/23133572
#SPJ4
I understand that the question you are looking for is:
Which keyword is used to specify that a class will define the methods of an interface?
1) uses.
2) implements.
3) defines.
4) extends.