diff --git a/src/main/java/core/basesyntax/Ball.java b/src/main/java/core/basesyntax/Ball.java index 70f99fc72..dd09f8e75 100644 --- a/src/main/java/core/basesyntax/Ball.java +++ b/src/main/java/core/basesyntax/Ball.java @@ -8,9 +8,8 @@ public Ball(String color, int number) { this.color = color; this.number = number; } - @Override public String toString() { System.out.println("Color :" + color + ", number :" + number); } -} \ No newline at end of file +}