Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    18
    Views
    1,399

    [SOLVED] Re: Help with a varibles!

    That is very important to know. All classes have one or more constructors.

    Go back to your lessons about classes and find where it tells you how to write a constructor for a class.
  2. Replies
    18
    Views
    1,399

    [SOLVED] Re: Help with a varibles!

    If you can not answer the questions I asked you need to spend some more time reading the java basics.
    Which of the questions I asked don't you understand?
    Do you know what a method is?
    Can you...
  3. Replies
    18
    Views
    1,399

    [SOLVED] Re: Help with a varibles!

    Can you find the main() method?
    Can you find the constructor for the class? Add one if needed.
    Select and cut all the code inside of the main() method.
    Paste the code into the constructor.
    Add...
  4. Replies
    18
    Views
    1,399

    [SOLVED] Re: Help with a varibles!

    Move all the code out of the main() method to the class's constructor. Have the main() method call the constructor.
  5. Replies
    18
    Views
    1,399

    [SOLVED] Re: Help with a varibles!

    Move the code out of the static method to a non-static method and there will not be a problem.
  6. Replies
    18
    Views
    1,399

    [SOLVED] Re: Help with a varibles!

    Please post the full text of the error message.
  7. Replies
    18
    Views
    1,399

    [SOLVED] Re: Help with a varibles!

    Something like this:
    link = <The value your want showInfo to return>;
Results 1 to 7 of 7