0

Hola estoy aprendiendo el leguaje java y no entiendo bien este ejemplo, me podrĂ­an ayudar por favor.

https://code.sololearn.com/csOyGZrd71l9/?ref=app

27th Sep 2017, 8:10 AM
C7u15
C7u15 - avatar
2 Answers
+ 1
the function addOneTo don't returns any value so x=5 before and after function called. Inside this function, num=6 but this value isn't returned
27th Sep 2017, 8:47 AM
MBZH31
MBZH31 - avatar
0
@MBZH31 Thanks :)
27th Sep 2017, 8:51 AM
C7u15
C7u15 - avatar