摘要:
package ch11;/** * Created by liwenj on 2017/7/21. */public class T1 { public int getTotal(int[] scores){ int total=0; for(int i=0;i<scores.length;i++ 阅读全文
摘要:
package ch08;import java.util.Scanner;/** * Created by liwenj on 2017/7/20. */public class Person { String[] names = new String[30];//把为null的元素添加内容 vo 阅读全文
摘要:
package ch07;/**两种方法把类和对象写在同一个文件内 * Created by liwenj on 2017/7/20. *///1public class Cell { String pp; void cd() { System.out.println("品牌是" + pp + "可 阅读全文
摘要:
package ch07.admin;/** * Created by liwenj on 2017/7/19. */文件1;public class adminclass { String name; String password; public void show(){ System.out. 阅读全文
摘要:
package ch07; import java.util.Scanner; /** * Created by liwenj on 2017/7/19. */ public class newCom { String name; int age; public void mes(){ if (age=80){ System... 阅读全文
摘要:
package ch07; /** * Created by liwenj on 2017/7/19. */ public class Student {//创建一个对象 String name; int age; String cla; String hobby; public void showmes() {//对象的一个方法 ... 阅读全文
摘要:
package ch07;import java.util.Scanner;/** * Created by liwenj on 2017/7/19. */public class test3 { public static void main(String[] args) { int[] pric 阅读全文
摘要:
package ch07;import java.util.Arrays;/** * Created by liwenj on 2017/7/19. */public class test2 { public static void main(String[] args) { char[] a = 阅读全文