0
The "return value" refers to the value that a method outputs upon its conclusion. In java, in every method declaration you have to include the data type.
Ex. public int addtion()
{
int someInteger = 0;
someInteger + 1;
return someInteger;
}
The return value of any method has to be of the datatype used to declare the method. So a String method has to return a string value, an int method has to return an integer value, the same is true for boolean, float, double etc. The only methods that don't require return values are the main method, constructors, and methods of the void datatype Ex. public void addition(); .



