Last active
October 2, 2016 05:58
-
-
Save sodastsai/e0b70e72f6611e935e56800256c150af to your computer and use it in GitHub Desktop.
Parameter Names and Argument Labels in functions of Swift - Example.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Example { | |
static String move(String origin, String destination) { | |
return String.format("Move from %s to %s.", origin, destination); | |
} | |
public static void main(String[] args) { | |
String string = Example.move("Tokyo", "Taipei"); | |
System.out.println(string); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment