Answered You can hire a professional tutor to get the answer.

QUESTION

Is the exception that occurs inmethod3a checked exception?

Is the exception that occurs inmethod3a checked exception?

class ExceptionPropagation{ 

  void method3(){

    int result = 100 / 0;  //Exception Here

  }

   void method2(){

    method3();

  }

   void method1(){

    try{

              method2();

    } catch(Exception e){               System.out.println("Exception is handled here");   } }

  public static void main(String args[]){              ExceptionPropagation obj=new ExceptionPropagation();             obj.method1();            System.out.println("Continue with Normal Flow...");

  }

}

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question