1. class BaseClass { <br /> 2. private float x = 1.of; <br /> 3. protected float getVar() { return x; } <br /> 4. } <br /> 5. class SubClass extends BaseClass { <br /> 6. private float x = 2.Of; <br /> 7. // insert code here 8. }  <br /> Which two are valid examples of method overriding when inserted at line 7?() 
A、 float getVar() { return x; }
B、 public float getVar() { return x; }
C、 public double getVar() { return x; }
D、 protected float getVar() { return x; }
E、 public float getVar(float f) { return f; }