That will be an extremely long list of stuff in the constructor... So I think I will stick with the other way.
Thank you very much!
Type: Posts; User: Tea.EarlGrey.Hot.
That will be an extremely long list of stuff in the constructor... So I think I will stick with the other way.
Thank you very much!
Hmm sorry for all the confusion. Is there a way to make it show you the errors when you haven't asked for output? Is it better to just make them subclasses of FedCruiser like I did originally and...
There is no error in the compiler because I have not yet given it any output commands.
"Anonymous class attempt"? Sorry
I am only trying to set the variables I declared in Ships more specifically...
I did put the full message of the error...
"Illegal start of type
Cannot find symbol: class shipName
<identifier> expected"
The IDE points this out to me before I even run
shipName was a...
I see it in the code box that looks like an IDE , now if that's what you mean.
You might have checked before I edited, I accidentally spelle highlight wrong in the first one
P.S. My wifi is down so I have been on my phone...
import stocharactertracker.ships.Ships; //all of the variables are declared and set default in Ships
public class FedCruiser extends Ships {
...
My first legit program :3 a pretty big and complicated one! Sigh... However I'm already having problems. Let me give you some background. For now I am simply logging a bunch of ships and their stats....