return type in Java
The return type might be an actual Java type such as String or int . If there is no return type, the void keyword is used.
The return type might be an actual Java type such as String or int . If there is no return type, the void keyword is used.