(Choose 1 answer)
Consider this class:
1. public class Test1 {
2.public float aMethod(float a, float b) {
3.return 0.5;
4.}
5.
6.}
Which of the following methods would be illegal if added (individually) at line 5?
A. public int aMethod(int a, int b) {}
B. public float aMethod(float x, float y) {}
C. public float aMethod(float a, float b, int c) throws Exception {}
D. private float aMethod(int a, int b, int c) {}
w
Finish
E13