Search:

Type: Posts; User: Zula

Search: Search took 0.11 seconds.

  1. Replies
    6
    Views
    1,956

    Re: *why won't this compile?*

    I guess the why is because the compiler must throw in a "super();" in any constructor that does not call super to initialize the superclass, makes sense indeed
  2. Replies
    6
    Views
    1,956

    Re: *why won't this compile?*

    Maybe have to call super in both constructors, have the one with just z for a param call super(0,0)

    And also you probably need 2 files, incase thats in one file called ClassA, public class ClassB...
Results 1 to 2 of 2