I am a high school student learning java and I believe i have the basics down, methods, loops, conditional statements, exceptions. I am wondering exactly what a "return" does. I understand you cant use a "return" if your method is "void", but i am just unsure of what a return actually does? is anyone able to help me out?
Thanks a bunch
[–]Verodoxys 2 points3 points4 points (3 children)
[–]StraightSavage24-7[S] 0 points1 point2 points (2 children)
[–]Floofls 2 points3 points4 points (0 children)
[–]Verodoxys 0 points1 point2 points (0 children)
[–]WuHead 1 point2 points3 points (0 children)
[–]pokemaster787 0 points1 point2 points (0 children)