+ 3
You can only use one return in a method. At the first return, the compiler jumps out of the method and goes back to where it came from. This is the statement to return all three variables return name_a + " " + name_b + " " + name_c; Please put the language you use in the tags.
8th Jan 2019, 9:14 PM
sneeze
sneeze - avatar