What must be added in line 1 to compile this class?
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) { }…