布尔值转字符串可以隐式转换

boolean res=a.getRes(num);//必须在主方法里调用此方法
System.out.println(res+" ");

 

posted @ 2025-05-06 13:29  胖豆芽  阅读(7)  评论(0)    收藏  举报