21161 - VictoriaBrown/MyProgrammingLab_Ch10 GitHub Wiki
QUESTION:
Regardless of the type of communications device, there must be a way to transmit and receive data. Define an interface, CommDevice, with two methods : transmit, that accepts two parameters -- reference to a Destination object , and a string (in that order), and returns a boolean ; and receive, that accepts a parameter of type Duration, and returns a reference to a String .
CODE:
public interface CommDevice {
	// transmit method:
	boolean transmit(Destination x, String a);
	// receive method:
	String receive(Duration x);
	
}