Answers for "java returning a string from a method"

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 returning a string from a method"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language