Command-line arg



I was wondering if there is a way to check if there is a command line
argument (arg[0]) and not throw indexouofboundsException

Thanks

.