If it returns a negative value, the creation of a child process was not successful.
The statement is used to end method execution and to return a value.
The program can therefore rely on the method returning a value of type int.
Without the second :int above, the function would not be able to return a value.
Java's main methods do not return a value directly, but one can be passed by using the method.
For the example above, this would return a value in the range 0 to 9.
They are evaluated to return a value when used in an expression or program.
That is, it returns a value but has no side effects.
General purpose register $0 always returns a value of 0.
The statement, which returns a value from a generator function.