I answered this question as A & got it wrong but I dont understand why. It has the int for X & the int for Y so what other possible answer could be a correct option?
"Which one of the following statements does NOT have a syntax error?"
The answer options were
A) setLocation(400,200);
B) setLocation (300);
C) setLocation(34;56);
D) setLocation(getLocation()+2);
E) setLocation(34,50,60);


