20755 - VictoriaBrown/MyProgrammingLab_Ch10 GitHub Wiki
QUESTION:
Write an interface, PointingDevice, containing: an abstract method , getXCoord that returns an int an abstract method , getYCoord that returns an int an abstract method , attentionRequired that returns a boolean an abstract method , setResolution that accepts a double and returns a double
CODE:
public interface PointingDevice {
// getXCoord method:
int getXCoord();
// getYCoord method:
int getYCoord();
// attentionRequired method:
boolean attentionRequired();
// setResolution method:
double setResolution(double x);
}