Skip to content

Instantly share code, notes, and snippets.

@sodastsai
Last active October 2, 2016 05:58
Show Gist options
  • Save sodastsai/e0b70e72f6611e935e56800256c150af to your computer and use it in GitHub Desktop.
Save sodastsai/e0b70e72f6611e935e56800256c150af to your computer and use it in GitHub Desktop.
Parameter Names and Argument Labels in functions of Swift - Example.java
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