Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    1,579

    Re: How to make calls to methods

    What class is the stringRoot(...) method in?

    You are trying to create a new Object, of type stringRoot, and calling the new Object's stringRoot(...) method, which is clearly not what you are...
  2. Replies
    4
    Views
    1,579

    Re: How to make calls to methods

    Ok, in your evenSquares class, you have no constructor. What you do have is a method. So when you say new evenSquares(1000);, it is looking for a constructor that accepts an int.

    So, there are a...
Results 1 to 2 of 2