(Choose 1 answer)
What will be the output of following code?
abstract class A{
public A() {System.out.println("Father");}
abstract public void out();
}
class B extends A{
public B() {System.out.println("Son");}
@Overridepublic void out() { } System.out.println("Father loves son!");
} public class Main1 {
public static void main(String[] args) { A b=new B();b.out();}
}
A. Son
Father loves son!
B. Father
Father loves son!
C. Father
Son
Father loves son!
D. Run time error
Edt (28