Do you think you could paste the error message? Also, for the areaCircle(int); I didn't mean to literally put "int" in there but to put an integer value, either an int variable or value like in my...
Type: Posts; User: Actinistia
Do you think you could paste the error message? Also, for the areaCircle(int); I didn't mean to literally put "int" in there but to put an integer value, either an int variable or value like in my...
Well, pretty much, I think. In your case, since you wanted the method to calculate the area of a circle given a radius, when you call it, it basically wants an integer (or radius), to use in the...
I don't have that much Java experience but what the error is saying is that the method needs an int in the () of the method. Your instance method is:
public static double AreaCircle(int radius) ...