Throughout this section, A is a class and B is a new class that extends A. Also, we have these variables: Aa=new A(); Bb= new B(); Bb1 = new BO; Bb2 = new B(); Question 1 (1 point) What is the term used to describe the situation when an extended class provides a function already provided in the superclass? a) Inheriting b) Overriding, Consider the declarations at the top of this section. Suppose there are two functions: f has an argument of type A and g has an argument of type B. Which statement is correct? a) Both f(a) and g(a) are legal activations. b) f(a) is legal, but g(a) is not legal. c) f(a) is not legal, but g(a) is legal. d) Neither f(a) nor g(a) is a legal activations. Consider the assignment statement a=b; (with the variable declarations at the top of this section). Which answer is true? a) The assignment statement is illegal (compiler error). Ob) The assignment statement compiles okay, but sometimes causes a ClassCastException at runtime. Oc) The assignment statement compiles okay, and cannot cause a ) ClassCastException at runtime. Consider the declarations at the top of this section. Suppose there are two methods: f has an argument of type A and g has an argument of type B. Which statement is correct? a) Both f(b) and g(b) are legal activations. Ob) f(b) is legal, but g(b) is not legal. c) f(b) is not legal, but g(b) is legal. d) Neither f(b) nor g(b) is a legal activation.