24th Jan 2021, 7:31 AM
Amateur
3 Respostas
+ 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