Skip to content

Instantly share code, notes, and snippets.

@edinak1
Created December 17, 2016 09:14
Show Gist options
  • Save edinak1/d9906b3d174da73531b63feb164c711c to your computer and use it in GitHub Desktop.
Save edinak1/d9906b3d174da73531b63feb164c711c to your computer and use it in GitHub Desktop.
public class GreatingService {
public static void main(String[] args) {
if (args.length >0) {
System.out.println("Hello, " + args[0]); 5 } else {
System.out.println("Hello");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment