Skip to content

Instantly share code, notes, and snippets.

@johnSerrano
Created October 12, 2015 21:35
Show Gist options
  • Save johnSerrano/a032586ebe7f6e1b690d to your computer and use it in GitHub Desktop.
Save johnSerrano/a032586ebe7f6e1b690d to your computer and use it in GitHub Desktop.
public class Temp
{
public static void main(String[] args)
{
int first_argument = Integer.parseInt(args[0]);
int second_argument = Integer.parseInt(args[1]);
System.out.println("first_argument: " + first_argument);
System.out.println("second_argument: " + second_argument);
System.out.println("sum: " + (first_argument + second_argument));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment