Object Oriented Programming (OOPs)
© examsiri.com
Question : 62 of 72
Marks:
+1,
-0
Given:
What is the result?
class Top {
  public Top(String s) { System.out.print("B"); }
}
public class Bottom2 extends Top {
  public Bottom2(String s) { System.out.print("D"); }
  public static void main(String [] args) {
   new Bottom2("C");
   System.out.println(" ");
  }
}What is the result?
Go to Question: