+ 1

Apart from calculation when do i use return in function?

29th Nov 2016, 7:18 AM
Eze Ebuka
Eze Ebuka - avatar
2 odpowiedzi
+ 3
To stop executing further instructions.
29th Nov 2016, 1:25 PM
Igor B
Igor B - avatar
0
when you want to return int / string / boolean from a method (without void in the namn) thats when u return
29th Nov 2016, 10:10 PM
robbzter
robbzter - avatar