Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 does it mean to have:
- //an implied super() call in Bottom2's constructor?
Add Comment
Please, Sign In to add comment