Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikNarozhnyi committed Nov 18, 2024
1 parent f926c1e commit 872a742
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/core/basesyntax/Ball.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 872a742

Please sign in to comment.