Answers for "java class return string"

0

how to return string in java

public String methodName(int num){
        return "the number is: "+num;
    }
Posted by: Guest on October-05-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language