📜  获取字符串 java 代码示例的值

📅  最后修改于: 2022-03-11 14:52:46.242000             🧑  作者: Mango

代码示例1
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  
}}