Write an abstract method


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.



//My code
public interface PointingDevice {
int getXCoord();
int getYCoord();
boolean attentionRequired();
double setResolution(double a);
}

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write an abstract method
Reference No:- TGS0108875

Expected delivery within 24 Hours