摘要: 5、 查询Score表中成绩为85,86或88的记录。 6、 查询Student表中“95031”班或性别为“女”的同学记录。 7、 以Class降序查询Student表的所有记录。 8、 以Cno升序、Degree降序查询Score表的所有记录。 9、 查询“95031”班的学生人数。 阅读全文
posted @ 2016-06-13 17:42 凌零聆 阅读(284) 评论(0) 推荐(0) 编辑
摘要: package C; public class Wugeren { static int age(int n) { int c; if( n==1 ) c=10; else c=age(n-1)+2; return c; } public static void main(String[] args 阅读全文
posted @ 2016-06-13 10:50 凌零聆 阅读(2509) 评论(0) 推荐(0) 编辑
摘要: package C; public class Bisai { public static void main(String[] args) { String a="xyz",b="",c=""; for (int i = 0; i < 3; i++) { if(a.substring(i,i+1) 阅读全文
posted @ 2016-06-13 10:34 凌零聆 阅读(7508) 评论(0) 推荐(0) 编辑
摘要: package C; public class Tao { public static void main(String[] args) { int m=1; for (int i = 10; i >1; i--) { m=(m+1)*2; } System.out.println("第一天摘了桃子 阅读全文
posted @ 2016-06-13 09:34 凌零聆 阅读(1765) 评论(0) 推荐(0) 编辑
摘要: package C; public class Wanquanpingfang { public static void main(String[] args) { for (long i = -2147483648; i <= 2147483647; i++) { if((long)Math.sq 阅读全文
posted @ 2016-06-13 09:07 凌零聆 阅读(231) 评论(0) 推荐(0) 编辑