(Choose 1 answer)
Suppose class X contains the following method:void doSomething(int a, float b) {...}Which of the following methods may appear in class Y, which extends X?
A. public void doSomething(int a, float b) { ... }
B. private void doSomething(int a, float b) { ... }
C. public void doSomething(int a, float b) throws java.io.IOException {...}
D. private void doSomething(int a, float b) throws java.io.IOException { ... }
E12