left hand side must be a variable java code example
Example: The left-hand side of an assignment must be a variable java
public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}
public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}