Search:

Type: Posts; User: Tea.EarlGrey.Hot.

Search: Search took 0.07 seconds.

  1. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    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!
  2. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    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...
  3. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    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...
  4. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    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...
  5. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    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
  6. [SOLVED] Re: Object does not recognize variables but it's class does? (Feel like a noob :( )

    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 {
    ...
  7. [SOLVED] Object does not recognize variables but it's class does? (Feel like a noob :( )

    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....
Results 1 to 7 of 7