震惊!3年java ,where 还能这么写
java where()条件表达式还能这么写
public class Test1 {
public static void main(String[] args) throws IOException {
int read = 0;
while (iftrue(read)) {
System.out.println("true");
}
}
public static boolean iftrue(int read) {
System.out.println(read);
if (read < 10) {
return true;
} else {
return false;
}
}
}©版权声明演示站内容均来自互联网,如有侵权,请与我联系
THE END
喜欢就支持以下吧
The God only arranges a happy ending. If it is not happy, it means it is not the final result.
上天只会安排快乐的结局,如果不快乐,说明还不是最终结局。
优雅的支付系统:给站长提供强劲的生产力
子比主题付费下载演示
超级耐看的小可爱美女图集
《超能陆战队》预告片
子比主题优雅的付费图库体验
新 iPad 测评:苹果在教育领域的野心