扫码下载编程狮APP
The static method toString() returns the string representation of a boolean: public static String toString (boolean boolean)
The static method toString() returns the string representation of a boolean:
public class MainClass { public static void main(String[] args) { Boolean b = Boolean.valueOf("true"); System.out.println(b.toString()); } }
运行结果如下:
联系方式:
扫描二维码
下载编程狮App
扫码关注 领资料包