boolean类型转化为string

boolean b = true;
String s = String.valueOf(b);
System.out.println(s);

 

 

相关文章: