Question: JAVA CODE Problem: Name: describeNumber Return type: String Parameter(s): an int number Specification: Returns Zero if the number is equal to 0 and Not Zero
JAVA CODE Problem:
Name: describeNumber Return type: String Parameter(s): an int number Specification: Returns "Zero" if the number is equal to 0 and "Not Zero" otherwise. This method must call isZero to check if the number is 0 or not.
I just started and it is giving me an error for:
public static String describeNumber (int value1); {
I'm not sure how to proceed or use my isZero method in this new method.
Note: I have already coded the isZero code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
