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...
Type: Posts; User: aussiemcgr
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...
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...