上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 80 下一页
摘要: package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { //循环中 跳过某个 for(int i=1;i<6;i++){ if(i==3 阅读全文
posted @ 2023-06-06 12:46 胖豆芽 阅读(51) 评论(0) 推荐(0)
摘要: 1.快速生成main输入psvm 2快速生成System.out.print使用sout 3.运行 shift f10 4.for循环 for(int i=0;i<arr.length;i++){ } fori 5先选中 再shift+f6 全局改名 6.先写数组名okarr +.+fori 回车 阅读全文
posted @ 2023-06-06 12:35 胖豆芽 阅读(32) 评论(0) 推荐(0)
摘要: for循环 package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { //无限循环 for(;;){ System.out.print(" 阅读全文
posted @ 2023-06-06 12:29 胖豆芽 阅读(28) 评论(0) 推荐(0)
摘要: ————————————————版权声明:本文为CSDN博主「biyusr」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。原文链接:https://blog.csdn.net/biyusr/article/details/125599865 1、对查询进行优化,应 阅读全文
posted @ 2023-06-05 20:27 胖豆芽 阅读(15) 评论(0) 推荐(0)
摘要: 1.\r 叫回车 Carriage Return 2.\n 叫新行 New Line 但是都会造成换行, 阅读全文
posted @ 2023-06-05 14:45 胖豆芽 阅读(112) 评论(0) 推荐(0)
摘要: package com.fqs.test; import java.util.Scanner; import static jdk.nashorn.internal.objects.ArrayBufferView.length; public class hello { public static 阅读全文
posted @ 2023-06-02 21:04 胖豆芽 阅读(33) 评论(0) 推荐(0)
摘要: package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { //循环打印1到5 int i=0; while(i<5){ i++; Syst 阅读全文
posted @ 2023-06-02 17:48 胖豆芽 阅读(93) 评论(0) 推荐(0)
摘要: package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { //求1到5的和 int sum=0; for(int i=0;i<6;i++) 阅读全文
posted @ 2023-06-02 17:29 胖豆芽 阅读(138) 评论(0) 推荐(0)
摘要: package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { Scanner sc=new Scanner(System.in); Syste 阅读全文
posted @ 2023-06-01 20:38 胖豆芽 阅读(27) 评论(0) 推荐(0)
摘要: package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { Scanner sc=new Scanner(System.in); Syste 阅读全文
posted @ 2023-06-01 20:13 胖豆芽 阅读(18) 评论(0) 推荐(0)
上一页 1 ··· 47 48 49 50 51 52 53 54 55 ··· 80 下一页