Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    12
    Views
    2,664

    Re: Error: Main method not found! Please help!

    You need to look at the code. Where are the Rectangle class objects created? Hint: objects are created with the new statement.
    See the tutorial on constructors:
    Providing Constructors for Your...
  2. Replies
    12
    Views
    2,664

    Re: Error: Main method not found! Please help!

    Where does the test class pass values to the Rectangle class? What does the Rectangle class do with the values it receives?
  3. Replies
    12
    Views
    2,664

    Re: Error: Main method not found! Please help!

    The findArea() I was talking about is a method. Notice the () I added at the end of the name.
    Use your editor's Find or Search function to find where the findArea() method is defined and where it...
  4. Replies
    12
    Views
    2,664

    Re: Error: Main method not found! Please help!

    What values does the findArea() method compute and return? Look at that method to see what it does.
  5. Replies
    12
    Views
    2,664

    Re: Error: Main method not found! Please help!

    Is the program executing now?

    Copy and paste here the full contents of the program's output.

    If the output is wrong, please explain what it should be and provide some example of correct output.
  6. Replies
    12
    Views
    2,664

    Re: Error: Main method not found! Please help!

    What is the commandline you are using to execute the program?

    The formatting of the Test class does not following coding standards. The nested statements should be indented 3-4 spaces. See the...
Results 1 to 6 of 6