摘要: 3(1) class Person3{ private String name; private String addr; private String sex; private int age; public Person3(String name,String addr,String sex,i 阅读全文
posted @ 2016-04-07 17:55 李名钰 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 6(1) public class Chushenriqi { public static void main(String[] args) { String str="Java技术学习班20070326"; System.out.println(str.substring(9,17)); // T 阅读全文
posted @ 2016-04-07 17:43 李名钰 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1: public class Address{ public static void main(String args[]) { Address1 add=null; add=new Address1("国家","省份","城市","街道","邮编"); System.out.println("国 阅读全文
posted @ 2016-04-07 13:33 李名钰 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 4: public class Shuzu4{ public static void main(String[] args){ int score[]={67,89,87,69,90,100}; int sum=0; int max=0; int min=0; max=min=score[0]; f 阅读全文
posted @ 2016-04-07 13:16 李名钰 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 1: public class Shuixianhuashu1{ public static void main(String[] args){ for(int i=0;i<=25;i++){ for(int j=0;j<=25;j++){ for(int k=0;k<=25;k++){ int s 阅读全文
posted @ 2016-04-07 13:11 李名钰 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 例3.1 class DataDemo01{ public static void main(String[] args){ int num=9999999999999999999999999; }} 例3.2 class DataDemo02{ public static void main(St 阅读全文
posted @ 2016-04-07 13:02 李名钰 阅读(165) 评论(0) 推荐(0) 编辑