Решение не соответствует последнему пункту задания: мсеттеры должны инициализировать соответствующие поля",не понимаю.
package com.javarush.task.pro.task10.task1018;
public class Coordinate {
private int x;
private int y;
public int getX() {
return this.x;
}
public void setX(int x) {
x = this.x;
}
public int getY() {
return this.y;
}
public void setY(int y) {
y = this.y;
}
}