上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 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++ 阅读全文
posted @ 2017-07-21 10:28 斯丢皮德曼 阅读(415) 评论(0) 推荐(0) 编辑
摘要: package ch08;import java.util.Scanner;/** * Created by liwenj on 2017/7/20. */public class Person { String[] names = new String[30];//把为null的元素添加内容 vo 阅读全文
posted @ 2017-07-20 16:47 斯丢皮德曼 阅读(286) 评论(0) 推荐(0) 编辑
摘要: package ch07;/**两种方法把类和对象写在同一个文件内 * Created by liwenj on 2017/7/20. *///1public class Cell { String pp; void cd() { System.out.println("品牌是" + pp + "可 阅读全文
posted @ 2017-07-20 09:48 斯丢皮德曼 阅读(238) 评论(0) 推荐(0) 编辑
摘要: package ch07.admin;/** * Created by liwenj on 2017/7/19. */文件1;public class adminclass { String name; String password; public void show(){ System.out. 阅读全文
posted @ 2017-07-19 15:59 斯丢皮德曼 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2017-07-19 14:41 斯丢皮德曼 阅读(243) 评论(0) 推荐(0) 编辑
摘要: package ch07; /** * Created by liwenj on 2017/7/19. */ public class Student {//创建一个对象 String name; int age; String cla; String hobby; public void showmes() {//对象的一个方法 ... 阅读全文
posted @ 2017-07-19 14:40 斯丢皮德曼 阅读(311) 评论(0) 推荐(0) 编辑
摘要: package ch07;import java.util.Scanner;/** * Created by liwenj on 2017/7/19. */public class test3 { public static void main(String[] args) { int[] pric 阅读全文
posted @ 2017-07-19 11:51 斯丢皮德曼 阅读(243) 评论(0) 推荐(0) 编辑
摘要: package ch07;import java.util.Arrays;/** * Created by liwenj on 2017/7/19. */public class test2 { public static void main(String[] args) { char[] a = 阅读全文
posted @ 2017-07-19 11:17 斯丢皮德曼 阅读(395) 评论(0) 推荐(0) 编辑
摘要: //实现如图的购物清单 阅读全文
posted @ 2017-07-18 16:26 斯丢皮德曼 阅读(227) 评论(0) 推荐(0) 编辑
摘要: package ch06; import java.util.Scanner; /** * Created by liwenj on 2017/7/18. */ public class test11 { public static void main(String[] args) { int[] a = {1, 2, 3, 4, 5, 6, 7}; ... 阅读全文
posted @ 2017-07-18 15:51 斯丢皮德曼 阅读(233) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页