Search:

Type: Posts; User: kari4848

Search: Search took 0.09 seconds.

  1. [SOLVED] Re: Invoking a superclass constructor in my subclass

    Ahh, I fixed it and it works great now. Thank you for your help! :)
  2. [SOLVED] Re: Invoking a superclass constructor in my subclass

    well they're supposed to be the variables from the superclass AstroObj, i just called em something different than what is gonna be passed from the main so i wouldn't get confused.

    main
    ...
  3. [SOLVED] Invoking a superclass constructor in my subclass

    I have a superclass called AstroObj, and two subclasses, Planet and Star.
    Everything on my code works except the constructor that takes all parameters.

    I want to inherit the name, galaxy,...
Results 1 to 3 of 3