Sander Koorevaar wrote:What is the reason that I need to override the method toString() method? I want to understand this problem.
And, the cheque's in the post.A few minutes ago, I wrote:Overriding the toString method is easy: . . .
]error: incompatible types: int cannot be converted to String
return quantity;
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|