import java.io.IOException; class Test1 { public float aMethod(float a, float b) throws IOException { return 0; } } class Test2 extends Test1 { float aMethod(float a, float b) { return 0; } } A. Legal B. Illegal