cat.java notes Separate Exception checking read() returns -1 when at the end of the file. Reading and writing are always done inside try/catch stateme