demo;

  1. A

    Exception handling - Java

    here are 2 versions of same program: version 1: package dutt; class App{ static void demo(){ try{ throw new NullPointerException("generic"); }catch(NullPointerException q){ System.out.println("caught inside demo"); throw q; } } public static void...
Top Bottom