Look at your first example: you told the compiler that the main( ... ) method could throw an Exception (An IOException is an Exception), but you didn't do so in your second example; the compiler,...