Answers for "get value of string java"

1

get value of string java

public class StringValueOfExample{  
public static void main(String args[]){  
int value=30;  
String s1=String.valueOf(value);  
System.out.println(s1+10);//concatenating string with 10  
}}
Posted by: Guest on October-27-2021

Code answers related to "get value of string java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language