Search:

Type: Posts; User: Parranoia

Search: Search took 0.12 seconds.

  1. Replies
    5
    Views
    846

    Re: What Is Wrong With This Code

    Oh...I don't see how I missed it before.
    You can't run code outside of a method. Move that bit of code into your main method
  2. Replies
    5
    Views
    846

    Re: What Is Wrong With This Code

    The way you called message is as if it were a field. To call a method you must have parenthesis after the method call


    Test2Object.message();
Results 1 to 2 of 2