摘要:
小游戏: 阅读全文
摘要:
package top.hyself; abstract class A{ private String name; public A(String name) { this.name = name; } public String getName() { return this.name; } p 阅读全文
摘要:
package top.hyself; public class F$Demo { public static void main(String[] args) { // TODO Auto-generated method stub new F$Demo().fun(); } private void fun() { ... 阅读全文
摘要:
package top.hyself; public class Test_1106 { public static void main(String[] args) { // TODO Auto-generated method stub TestDemo circle1 = new TestDemo(); double area=c... 阅读全文
摘要:
package top.hyself; class Single{ private static Single instance = new Single(); private Single() { } public static Single getInstance() { return instance; } public v... 阅读全文
摘要:
package top.hyself; public class Test_1023 { private int id; private String name; private int sex; private int age; private String city; public Test_1 阅读全文
摘要:
package homework; import com.rupeng.game.GameCore; public class Test implements Runnable { public static void main(String[] args) { GameCore.start(new Test()); } @Override p... 阅读全文
摘要:
package homework; import java.util.Scanner; public class Test { public static void main(String[] args) { int number1 = (int) (System.currentTimeMillis() % 10);//从1970年1月1日开始到今天现在这个时刻的毫秒值 ... 阅读全文
摘要:
import java.util.Scanner; public class Test { public static void main(String[] args) { System.out.println("5+5=" + 5 + 5); int a = 3,b; b = a++; System.out.printl... 阅读全文
摘要:
public class Test { public static void main(String[] args){ //输出一个长整型的变量 123456789012345 long h = 123456789012345l; System.out.println(h); //输出一个单精度的小数常量 2.4 ... 阅读全文