Input
Output
class ExceptionPro{ void a(){ int data=1/0; } void b(){ a(); } void c(){ try{ b(); }catch(ArithmeticException e){ System.out.println("Exception handled"); } } } public class ExceptionPropagation{ public static void main(String args[]){ ExceptionPro ep=new ExceptionPro(); ep.c(); System.out.println("Code running normal flow"); } }