摘要:
package com.kuang.struct; public class ShunXunDemo { public static void main(String[] args) { System.out.println("hello1"); System.out.println("hello2 阅读全文
posted @ 2021-09-19 20:30
Ahao丷
阅读(28)
评论(0)
推荐(0)
摘要:
package com.kuang.scanner; import java.util.Scanner; // //Demo04 // public class Demo04 { public static void main(String[] args) { Scanner scanner = n 阅读全文
posted @ 2021-09-19 20:22
Ahao丷
阅读(30)
评论(0)
推荐(0)
摘要:
package com.kuang.scanner; import java.util.Scanner; // //Demo01 // public class Demo01 { public static void main(String[] args) { //创建一个扫描器对象,用于接受键盘数 阅读全文
posted @ 2021-09-19 20:04
Ahao丷
阅读(37)
评论(0)
推荐(0)
摘要:
package com.kuang.base; /** * @author Kuangshen * @version 1.0 * @since 1.8 */ public class Doc { String name; /** * @author Kuangshen * @param name * 阅读全文
posted @ 2021-09-19 11:44
Ahao丷
阅读(59)
评论(0)
推荐(0)
摘要:
package operator; // //Demo07 // public class Demo07 { public static void main(String[] args) { int a = 10; int b = 20; a+=b; //a = a+b a-=b; //a = a- 阅读全文
posted @ 2021-09-19 11:08
Ahao丷
阅读(19)
评论(0)
推荐(0)
摘要:
package operator; // //Demo05 // public class Demo05 { public static void main(String[] args) { // 与(and) 或(or) 非(取反) boolean a = true; boolean b = fa 阅读全文
posted @ 2021-09-19 11:01
Ahao丷
阅读(31)
评论(0)
推荐(0)
摘要:
package operator; public class Demo04 { public static void main(String[] args) { //++ -- 自增 自减 一元运算符 int a = 3; int b = a++; //先赋值再自增 int c = ++a; //先 阅读全文
posted @ 2021-09-19 10:48
Ahao丷
阅读(28)
评论(0)
推荐(0)
摘要:
package operator; // //Demo01 // public class Demo01 { public static void main(String[] args) { //二元运算符 //Ctrl + D: 复制当前行到下一行 int a =10; int b =20; in 阅读全文
posted @ 2021-09-19 10:42
Ahao丷
阅读(28)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2021-09-19 10:07
Ahao丷
阅读(12)
评论(0)
推荐(0)
摘要:
public class Demo09 { //修饰符, 不存在先后顺序 static final double PI=3.14; public static void main(String[] args) { System.out.println(PI); } } 阅读全文
posted @ 2021-09-19 10:07
Ahao丷
阅读(28)
评论(0)
推荐(0)

浙公网安备 33010602011771号