(Choose 1 answer)
A. BDC
B. DBC
C. BD
D. Compilation fails
E. DB
//-
Given the following Java code:
class Up{
}
public Up(String s) { System.out.print("B"); }
public class Down extends Up{public Down(String s) {
}
System.out.print("D"); }
public static void main(String[] args){
new Down("C");
System.out.println(" ");
}
What is the result?