0
Can someone explain me what happen when ''return'' statement gets executed. Thanks in advance
2 Réponses
+ 1
It.. returns the value to the caller. You ask a question? I return an answer. I call a method to do a calculation - the method 'returns' the value so I can do something with it. If you don't return we have a bunch of methods that don't speak to each other
0
thank you so much walker. Excellent explanation really good