08 2021 档案

摘要:package 模仿0731; public class Mooc0404Son extends Mooc0401FatherTest { private void hi() { // TODO 自动生成的方法存根 System.out.println("hi~~~~"); } public sta 阅读全文
posted @ 2021-08-03 10:21 toumaoyu 阅读(27) 评论(0) 推荐(0)
摘要:package 模仿0731; public class Mooc0403OPExample { public static void main(String[] args) { // TODO 自动生成的方法存根 int a,b,c; a = 1; b = 2; c = add(a,b); Sys 阅读全文
posted @ 2021-08-03 10:18 toumaoyu 阅读(24) 评论(0) 推荐(0)
摘要:package 模仿0731; public class Mooc0401OOExample { private int a; private void setA (int a) { this.a = a; } public int add(int b) { return this.a + b; } 阅读全文
posted @ 2021-08-03 10:17 toumaoyu 阅读(20) 评论(0) 推荐(0)
摘要:package 模仿0731; public class Mooc0401FatherTest { private int money = 100; long mobile = 1399999999L; public void hello() { System.out.println("hello" 阅读全文
posted @ 2021-08-03 10:16 toumaoyu 阅读(38) 评论(0) 推荐(0)
摘要:package wan0730; public class MoocOverloadTest { public static void main(String[] args) { int a = 1,b = 2; System.out.println(add(1,2)); System.out.pr 阅读全文
posted @ 2021-08-03 10:15 toumaoyu 阅读(39) 评论(0) 推荐(0)
摘要:package wan0730; public class Mooc0307FuntionTest { private static Mooc0307FuntionTest MoocFunctionTest; public static void main(String[] args) { // T 阅读全文
posted @ 2021-08-03 10:12 toumaoyu 阅读(59) 评论(0) 推荐(0)
摘要:package wan0730; public class Mooc0306FatorTese { public static void main(String[] args) { // TODO 自动生成的方法存根 int a = 5; int b = factorialCalculation(a 阅读全文
posted @ 2021-08-03 10:08 toumaoyu 阅读(43) 评论(0) 推荐(0)
摘要:package wan0730; public class Mooc0305WhileTest { public static void main(String[] args) { // TODO 自动生成的方法存根 System.out.println(" While Test "); int x 阅读全文
posted @ 2021-08-03 10:06 toumaoyu 阅读(44) 评论(0) 推荐(0)
摘要:package wan0730; public class Mooc0304SwitchTest { public static void main(String[] args) { int a1 = 1; int a2 = 2; switch (a1 +a2) { case 1: { System 阅读全文
posted @ 2021-08-03 10:05 toumaoyu 阅读(63) 评论(0) 推荐(0)
摘要:public class Mooc0303IfEiseTese { public static void main(String[] args) { // TODO 自动生成的方法存根 int a = 5; if (a > 1) { System.out.println("aaaaaaa"); } 阅读全文
posted @ 2021-08-03 10:01 toumaoyu 阅读(35) 评论(0) 推荐(0)
摘要:public class ForTest { public static void main(String[] args) { // TODO 自动生成的方法存根 for (int i=0;i<5;i++) { for(int j=0;j<5;j++) { if (j<=i) { System.ou 阅读全文
posted @ 2021-08-03 09:59 toumaoyu 阅读(24) 评论(0) 推荐(0)
摘要:public class OPerator { public static void main(String[] args) { // TODO 自动生成的方法存根 int a = 10; int b = 3; int c = a+b; int d = a-b; int e = a/b; int f 阅读全文
posted @ 2021-08-03 09:57 toumaoyu 阅读(28) 评论(0) 推荐(0)
摘要:public class IntegerTest { public static void main(String[] args) { // TODO 自动生成的方法存根 short a1 = 32767; System.out.println(a1); int b1 = 2147483647; S 阅读全文
posted @ 2021-08-03 09:55 toumaoyu 阅读(34) 评论(0) 推荐(0)
摘要:public class FloatingTest { public static void main(String[] args) { // TODO 自动生成的方法存根 float f1 = 1.23f; double d1 = 4.56d; double d2 = 4.56; System.o 阅读全文
posted @ 2021-08-03 09:54 toumaoyu 阅读(30) 评论(0) 推荐(0)
摘要:public class FloatDoubleMaxMinTest { public static void main(String[] args) { // TODO 自动生成的方法存根 System.out.println(Float.MIN_VALUE); System.out.printl 阅读全文
posted @ 2021-08-03 09:53 toumaoyu 阅读(21) 评论(0) 推荐(0)
摘要:public class CharTest { public static void main(String[] args) { // TODO 自动生成的方法存根 char a = 'a'; char b = 97; char c = 'c'; char d = '我'; System.out.p 阅读全文
posted @ 2021-08-03 09:51 toumaoyu 阅读(43) 评论(0) 推荐(0)
摘要:public class ByteTest { public static void main(String[] args) { // TODO 自动生成的方法存根 byte a = (byte) -128 ; System.out.println(a); byte b = (byte) 127; 阅读全文
posted @ 2021-08-03 09:50 toumaoyu 阅读(49) 评论(0) 推荐(0)
摘要:public class BooleanTest { public BooleanTest() { // TODO 自动生成的构造函数存根 } public static void main(String[] args) { // TODO 自动生成的方法存根 boolean a = true ; 阅读全文
posted @ 2021-08-03 09:49 toumaoyu 阅读(58) 评论(0) 推荐(0)
摘要:public class MenberShow { int a = 0; int b = 5; public void f1() { //System.out.println("Hello"); } } 21.08.03 阅读全文
posted @ 2021-08-03 09:48 toumaoyu 阅读(42) 评论(0) 推荐(0)
摘要:public class IntegerTest { public IntegerTest() { // TODO 自动生成的构造函数存根 } public static void main(String[] args) { // TODO 自动生成的方法存根 int a,b,c; a = 1; b 阅读全文
posted @ 2021-08-03 09:43 toumaoyu 阅读(28) 评论(0) 推荐(0)
摘要:public class ArgumentTest : public static void main(String[]args) { for (int i = 0;i < args.length;i++) { System.out.println(args[i]); } } 21.08.03 刚开 阅读全文
posted @ 2021-08-03 09:40 toumaoyu 阅读(18) 评论(0) 推荐(0)