1. abstract class AbstractIt { 2. abstract float getFloat(); 3. } 4. public class AbstractTest extends AbstractIt { 5. private float f1 = 1.0f; 6. private float getFloat() { return f1; } 7. } What is the result?()
A. Compilation succeeds.
B. An exception is thrown.
Compilation fails because of an error at line 2.
D. Compilation fails because of an error at line 6.