I want to do some error checking for command line arguments
public static void main(String[] args) { if(args[0] == null) { System.out.println("Proper Usage is: java program filename"); System.exit(0); } }
However, this returns an exception from the exception range, which makes sense. I'm just looking for a suitable use.
java command-line command-line-arguments
Bobby S 06 Oct 2018-10-10T00: 00Z
source share