to add to what carl has said....more practically, use the code
below and verify the output. Run the code without arguments,
with more than one argument and with exactly one argument.
The exceptions thrown are just something which I could remember
off the top of my head, so I used them...
enjoy ...
ps: all names are metaphorically used and do not correspond
to anything living or otherwise
Regds.
- satya