Search:

Type: Posts; User: rossc

Search: Search took 0.16 seconds.

  1. Replies
    17
    Views
    414

    Have you import the correct packages?

    Have you import the correct packages?
  2. Replies
    17
    Views
    414

    Try adding super() as the first line in your...

    Try adding super() as the first line in your constructor and just see if that works
  3. Replies
    17
    Views
    414

    F6 runs the project, shift+F6 runs the individual...

    F6 runs the project, shift+F6 runs the individual class/java file. But that's not your issue it's asking for a super method in the constructor I think judging on that error message, although I didn't...
  4. Re: New to Java having problem debugging my code.

    Sorry, learnt my lesson

    --- Update ---


    Sorry, learnt my lesson
  5. Re: New to Java having problem debugging my code.

    Oh right, yeah I'm currently in my 2nd year studying it, got my main exam in it Friday. Lecturers get code wrong all the time and my 1st year professor was awful at teaching Java, luckily I taught...
  6. Re: New to Java having problem debugging my code.

    Is this a complete class? You seem to have not declared lString or firstChar anywhere. I run it on my IDE and it just throws an error due to this.
    Edit: You have declare firstChar but as firstchar....
  7. Replies
    17
    Views
    414

    Re: My code doesn't have a main clss?

    Have you made sure netbeans knows this is the main class it needs to run? Its in the project properties, under the "run" tab you can select which class you want netbeans to run. Or just try shift+F6...
Results 1 to 7 of 8