摘要: package lianxi; public class Shuzunixushuchu { public static void main(String[] args) { int[] ary={1,2,3,4,5,6,7}; for (int i = ary.length-1; i >=0; i 阅读全文
posted @ 2016-05-17 15:57 凌零聆 阅读(3701) 评论(0) 推荐(0) 编辑
摘要: package lianxi; import java.util.*; public class Huiwenshu { public static void main(String[] args) { System.out.println("输入一个5位的正整数"); Scanner shu=new Scanner(System.in); String a=s... 阅读全文
posted @ 2016-05-17 15:48 凌零聆 阅读(2648) 评论(0) 推荐(0) 编辑
摘要: package lianxi; import java.util.*; public class Nixudayin { public static void main(String[] args) { System.out.println("输入一个不多于5位的正整数"); Scanner shu 阅读全文
posted @ 2016-05-17 15:37 凌零聆 阅读(1465) 评论(0) 推荐(0) 编辑
摘要: package lianxi; public class Qiuhe { public static void main(String[] args) { double sum=0,fenshu=0,a=1,b=2,c=0; for (int i = 0; i < 20; i++) { fenshu 阅读全文
posted @ 2016-05-17 15:24 凌零聆 阅读(830) 评论(0) 推荐(0) 编辑
摘要: package lianxi; import java.util.*; public class Panduantianshu { public static void main(String[] args) { int sum; while (true) { System.out.println("请输入年份... 阅读全文
posted @ 2016-05-17 15:21 凌零聆 阅读(649) 评论(0) 推荐(0) 编辑
摘要: package lianxi; public class Cat { String Name, Color; int Age; void getName() { System.out.println(Name); } void HanJiao() { System.out.println("~~喵喵 阅读全文
posted @ 2016-05-17 15:10 凌零聆 阅读(3733) 评论(0) 推荐(0) 编辑
摘要: package lianxi; public class Print_1 { int x; Print_1(int x) { this.x = x; } void outPut() { String a = "abcdefghijklmnopqrstuvwxyz"; if (x == 1) { Sy 阅读全文
posted @ 2016-05-17 14:49 凌零聆 阅读(925) 评论(0) 推荐(0) 编辑
摘要: package lianxi; public class Print { void getShuiXianHuaShu() { int a; for (int i = 1; i < 10; i++) { for (int j = 0; j < 10; j++) { for (int k = 0; k 阅读全文
posted @ 2016-05-17 14:34 凌零聆 阅读(647) 评论(0) 推荐(0) 编辑
摘要: package lianxi; public class Student { String Name; int XveHao,Age; Student(String Name,int XveHao,int Age) { this.Name=Name; this.XveHao=XveHao; this 阅读全文
posted @ 2016-05-17 14:17 凌零聆 阅读(2434) 评论(0) 推荐(0) 编辑
摘要: package lianxi; public class Clock { int hour,minute,second; Clock(int xiaoshi,int fenzhong, int miao) { hour=xiaoshi; minute=fenzhong; second=miao; } 阅读全文
posted @ 2016-05-17 13:58 凌零聆 阅读(4145) 评论(0) 推荐(0) 编辑