Originally posted by Jake Miller:
...an answer I think is correct is: int a = calcArea(7, 12); but this is based on not really understanding what method calls are.
That's exactly what a method call is.
You are calling a method called calcArea, passing the required int parameters of 7 and 12. The method
returns an int value, and you are assigning that return value to an int variable called a.
[ August 08, 2007: Message edited by: marc weber ]