摘要: class Demo{public static void main(String[] args){int x = 1;for(show('a'); show('b') && x<3; show('c')){show('d'); x++;}}public static boolean show(ch 阅读全文
posted @ 2020-06-09 00:20 zzjjjjhh 阅读(45) 评论(0) 推荐(0)
摘要: class PrimeNumberTest{ public static void main(String[] args) { for (int i = 2;i<=100 ;i++ ){ boolean isFlag = true; //优化二 for (int j = 2;j <=Math.sqr 阅读全文
posted @ 2020-05-29 10:17 zzjjjjhh 阅读(141) 评论(0) 推荐(0)
摘要: String word = scan.next(); char c = word.chartAt(0); 阅读全文
posted @ 2020-05-28 23:27 zzjjjjhh 阅读(373) 评论(0) 推荐(0)