What kind of exception does the following program throw? public class Exceptional { public static void main(String[] arg
Posted: Sat Jul 09, 2022 11:48 am
What kind of exception does the following program throw? public class Exceptional { public static void main(String[] args) { Poodle o null; System.out.println(((Object)o).toString()); NullPointerException Checked Arithmetic Exception ClassCastException O StringIndexOutOfBounds Exception