摘要:
package ii; public class Student { String name; double a; public static void main(String[] args) { Student s1 = new Student(); s1.a = 90; s1.name = "z 阅读全文
摘要:
package ak; public class Point { int x; int y; void Ponit() { System.out.println(x); System.out.println(y); } void Ponit(int x0, int y0) { x = x0; y = 阅读全文
摘要:
package w; import java.util.Random; import java.util.Scanner; public class menu { public static void main(String[] args) { mainMenu(); } public static 阅读全文
摘要:
package ww; public class Rectangle { int cpu; char color; public void all() { System.out.println("颜色是" + color); System.out.println("cpu是" + cpu); } } 阅读全文
摘要:
package ww; public class Rectangle { int length; int width; public void area() { System.out.println(length * width); } public void per() { System.out. 阅读全文
摘要:
package a; import java.util.Scanner; public class ma { public static void main(String[] args) { int a[] = new int[10]; int sum = 0, max = 0, min = 100 阅读全文
摘要:
package a; public class ma { public static void main(String[] args) { int a[]={6,34,55,1,32,4}; for(int i=0;i<a.length-1;i++){ for(int n=0;n<a.length- 阅读全文
摘要:
package aa; public class mm { public static void main(String[] args) { int arr[]={10,20,30,40,50}; for(int j=0;j<5;j++){ System.out.println(arr[j]); } 阅读全文
摘要:
package aa; public class text { public static void main(String[] args) { int i,ge,shi,bai; for(i=100;i<=999;i++){ ge=i%10; shi=i/10%10; bai=i/100; if( 阅读全文