(Choose 1 answer)
What will happen when you attempt to compile and run the following program:
interface A {
void foo();
void fun();
}
class B implements A {
ystem.out.print("B1");}void foo() {System.
void fun() {System.out.print("B2");}
} class Main {
public static void main(String[] args) {
A t = new B();
t.foo();t.fun();
A. The program causes errors when it is compiled.
B. The output is B1B2
C. The program executes with no output.
D. The output is B2B1
Exit (19