摘要:
package com.fqs.test;import java.util.Random;import java.util.Scanner;public class hello { public static void main(String[] args) { //需求 程序自动生成一个1到100 阅读全文
摘要:
package com.fqs.test; import java.util.Random; import java.util.Scanner; public class hello { public static void main(String[] args) { //需求 程序自动生成一个1到 阅读全文
摘要:
package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { //循环中 逢7过 Scanner sc=new Scanner(System. 阅读全文
摘要:
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 阅读全文
摘要:
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 回车 阅读全文
摘要:
for循环 package com.fqs.test; import java.util.Scanner; public class hello { public static void main(String[] args) { //无限循环 for(;;){ System.out.print(" 阅读全文
摘要:
————————————————版权声明:本文为CSDN博主「biyusr」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。原文链接:https://blog.csdn.net/biyusr/article/details/125599865 1、对查询进行优化,应 阅读全文
摘要:
1.\r 叫回车 Carriage Return 2.\n 叫新行 New Line 但是都会造成换行, 阅读全文
摘要:
package com.fqs.test; import java.util.Scanner; import static jdk.nashorn.internal.objects.ArrayBufferView.length; public class hello { public static 阅读全文
摘要:
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 阅读全文