Guest User

Untitled

a guest
Oct 22nd, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1. class Top {
  2.     public Top(String s) { System.out.print("B"); }
  3. }
  4.  
  5. public class Bottom2 extends Top {
  6.     public Bottom2(String s) { System.out.print("D"); }
  7.  
  8.     public static void main(String [] args) {
  9.         new Bottom2("C");
  10.         System.out.println(" ");
  11.     }
  12. }
  13. //what does it mean to have:
  14. //an implied super() call in Bottom2's constructor?
Add Comment
Please, Sign In to add comment