24th Jan 2021, 7:31 AM
Amateur
3 RĂ©ponses
+ 5
You use only void when the function doesn't need to return. Remove double from void double. You need to return string in toString(). Add return strl;
24th Jan 2021, 7:36 AM
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż - avatar
+ 2
I'm not a Java programmer, but I feel like the problem is the void double (it doesn't make sense, at least not in other lenguages)
24th Jan 2021, 7:40 AM
Angelo
Angelo - avatar
0
Thank u👍
24th Jan 2021, 7:45 AM
Amateur