Explain Throws clause

Throws clause: It is a clause in a method header pointing that one or additional exceptions will be propagated from this technique. For example:

   public int find(String s) throws NotFoundException

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.