Vijay Tidake wrote:
throws is used in method declaration,which may throw a exception(Checked or Unchecked)
dont *throws* unchecked exception with method declaration, it become meaningless . because it wont intimate about exception to other programmer who will use your method!