- 博客(17)
- 收藏
- 关注
转载 作业
1 package wy; 2 3 public class feiponaqi { 4 public static void main(String[] args) { 5 int[] arr = new int [30]; 6 arr[0] = 1; 7 arr[1] = 1; 8 ...
2017-11-27 13:33:00
87
转载 作业
package wy;public abstract class A { private String name; public A(String name) { this.name=name; } public String getName() { return this.name; } ...
2017-11-20 13:51:00
89
转载 作业
package wy;public abstract class Person { private String name; private int age; public String getName() { return name; } public void setName(String name) {...
2017-11-20 13:48:00
122
转载 作业
package wy;public class Circle { private double radius; public Circle(double radius) { this.radius = radius; } public Circle() { this.radius = 1; ...
2017-11-13 12:14:00
82
转载 作业
package lianxi;public class Q {public int id;public String name;public int age;public String city;public String introduce() {return "My id=" + id + ", name=" + name + ", age=" + age + ", city...
2017-11-06 13:55:00
68
转载 作业
package wy;class Person{ private String name; private int age; static String city = "A城"; public Person(String name,int age) { this.name = name; this.age = age; } ...
2017-11-06 13:53:00
78
转载 作业
1 package com.wy; 2 3 public class June$9 { 4 public int id; 5 public String name; 6 public int age; 7 public String city; 8 public String introduce() { 9 ...
2017-10-30 13:49:00
59
转载 作业
package wy;import com.rupeng.game.GameCore;public class wy implements Runnable { public static void main(String[] args) { GameCore.start(new kt()); Syst...
2017-10-23 13:58:00
62
转载 作业
3-1import java.util.Scanner;public class AdditionQuiz { public static void main(String[] args) { int number1=(int)(System.currentTimeMillis()%10); int number2=(int)(System...
2017-10-16 13:46:00
123
转载 练习
7、算数运算符public class Count{ public static void main(String[] args) { Scanner input=new Scanner(System.in);//创一个对象 System.out.println("输入一个数"); int x=input.nextInt();//输入一个整型的数 ...
2017-10-09 13:51:00
77
转载 练习1
6、变量的溢出效果public class Overflow{ public static void main(String[] args) { int big=0x7fffffff; System.out.println(big); }转载于:https://www.cnblogs.com/wangyang520/p/764076...
2017-10-09 13:50:00
71
转载 练习
public class Long{ public static void main(String[] args) { long l=123456789012345l;//java中默认类型为Int型,电脑想要识别长整型需加l(或L) System.out.println(l); }2、输出一个单精度的小数常量public cla...
2017-10-09 13:48:00
58
转载 练习
程序员//import java.util.Scanner; //输入public class Operation{ public static void main(String[] args) //有的直接在打印处提示的 就不做注释了 { long l=123456789012345l; System.out.print("这个长整数的的值是:"+l...
2017-09-25 11:45:00
72
转载 4
import java.util.Scanner; public class Jisuanjl{ public static void main(String[] args){ Scanner input=new Scanner(System.in); System.out.print("Enter x1 and y1:"); double x1=input.nex...
2017-09-18 10:55:00
56
转载 3
import java.util.Scanner;public class test { public static void main(String[] args) { Scanner Hy=new Scanner(System.in); String Hyper; System.out.println("请输入一个0-1000的整数来求...
2017-09-18 10:53:00
60
转载 2
public class Test{public static viod main(String[ ] args){System out println(" A");System out println(" AA");System out println("AAAAA");System out println("A A"); }}转载于:https://www.cnbl...
2017-09-18 10:52:00
66
转载 1
1.2public class Test{public static void main(String[] args){int i;for(i=1;i<=5;i++){System.out.println("Welcome to java");}}1.8public class Test{public static void main(String[]args){...
2017-09-18 10:50:00
56
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人