Given: What must be added in line 1 to compile this class? A. catch(IOException e) { } B. catch(FileNotFoundException | IndexOutOfBoundsException e) { } C. catch(FileNotFoundException | IOException e) { } D. catch(IndexOutOfBoundsException e) { } catch(FileNotFoundException e) { }…

Given: executed with this command: java Main one two three What is the output of this class? A. The compilation fails. B. 1) one 2) two 3) three C. A java.lang.ArrayIndexOutOfBoundsException is thrown. D. 1) one E. nothing

Given: What is the result? A. Map: 0 Keys: 0 Values: 0 B. The compilation fails. C. Map: 4 Keys: 4 Values: 4 D. Map: 4 Keys: 0 Values: 0 E. Map: 0 Keys: 4 Values: 4