Ahh, I fixed it and it works great now. Thank you for your help! :)
Type: Posts; User: kari4848
Ahh, I fixed it and it works great now. Thank you for your help! :)
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
...
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,...