Online-IDE-files/DataPoint.java aktualisiert

Getter und Setter hinzugefügt
This commit is contained in:
2023-12-05 12:18:17 +00:00
parent 8f385622a4
commit eb314453b4

View File

@@ -19,4 +19,20 @@ public class DataPoint {
retStr += ", x2: " + String.valueOf(this.x2);
return retStr;
}
double getX1() {
return x1;
}
double getX2() {
return x2;
}
String getName() {
return name;
}
int getLabel() {
return label;
}
}