This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
When overriding a method, u can choose to have the overridden method in the child throw no exceptions (as in the case of Ping::getInt() which throws no exceptions). Hence we dont need to keep the try catch block for the child method or you could keep the try catch block anyways, it does no one any harm.
Also, imagine you need to do something like Utils p= new Ping();
You would still need the try catch when u invoke p.getInt().