See More

public class ExceptionExample { public static void main(String[] args){ try{ int c=2/0; } catch (Exception e){ e.printStackTrace(); } System.out.println("after exception"); } }