JAVA use return type.