asked
How to write clean code that makes you a developer everyone wants to work with
Other Tips for Writing Good Code 2
Resolved
Written on
·
175
1
반환형이 void => int로 변경되어야 할 것 같습니다.
void calculateTotalUsedPoint(){ int totalUsedPoints = 0; for(UsedPoint point : usedPoints) totalUsedPoints += point.amount(); return totalUsedPoints;}
Answer 1
너무 감사합니다 바로 수정했습니다 :)
매의눈이시군요 b