摘要:
1. package text; import java.util.Arrays; import java.util.Random; import java.util.Scanner; public class Zuoyee { public static void main(String[] ar 阅读全文
摘要:
1. package test; public class ColaEmployee { String name; int month; public ColaEmployee() { super(); } public ColaEmployee(String name, int month) { 阅读全文
摘要:
1. package test; public class Vehicle { public String brand; public String color; public double speed=0; void setVehicle(String brand,String color) { 阅读全文
摘要:
1. package test; public class Student { String name; double score; public Student() { } public Student(String name, int score) { this.name = name; thi 阅读全文
摘要:
1. package LH; public class Point { int x; int y; Point() { } Point(int x0, int y0) { this.x = x0; this.y= y0; } void movePoint(int dx,int dy) { this. 阅读全文
摘要:
1. package test; import java.util.Scanner; import java.util.Random; public class LH { public static void main(String[] args) { mainMenu(); } public st 阅读全文
摘要:
1. package test; public class LH { int cpu; char color; public void all() { System.out.println("颜色是" + color); System.out.println("cpu是" + cpu); } } p 阅读全文
摘要:
1. package test; import java.util.*; public class LH { public static void main(String[] args) { int []a=new int[10]; Scanner input=new Scanner(System. 阅读全文
摘要:
1. import java.util.*; public class LH { public static void main(String[] args) { int[] a = {1,2,4,3,5}; for(int i=0; i<a.length-1; i++) { for(int b=0 阅读全文