(Choose 1 answer)
What is the output of the following program?
import java.io.IOException;public class Main {
public static void main(String[] args) { int k = 5:try { if(k>4) throw new IOException();}catch(IOException e) { System.out.print("one ");}catch(Exception e) { System.out.print("two ");}finally { System.out.print("three");System.out.println();}
}
A. one
B. one two
C. one three
D. one two three
Edt (47)