07 2016 档案
摘要:public class Datum { public String title ; public int code ; public String getTitle() { return title; } public int getCode() { return code; } public v
阅读全文
摘要:<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <Te
阅读全文
摘要:1. public class DemoTreeMap3 { public static void main(String[] args) { System.out.println(" 对hashMap按照key进行排序 "); Map<Car,String> map = new HashMap<C
阅读全文
摘要:1. public static void main(String[] args) { // ArrayList类实现一个可增长的动态数组 List<String> list = new ArrayList<String>(); // 插入元素 list.add("list1"); list.add
阅读全文
摘要:1. /** * 使用Collection接口,增删改查 * ArrayList内部使用数组实现,变相的实现可变长度的数组,ArrayList能够取代数组。 * @author Administrator * */ public class DemoCollection { public stati
阅读全文
摘要:1.copy public class Copy { public static void main(String[] args) { int[] a = {3,5,6,87,98,9}; System.out.println(" 手工复制 "); int[] b = new int[a.lengt
阅读全文
摘要:面向对象总结 1、锻炼面向对象的思想。2、由对象到类的过程:抽象的过程。 提取共有的属性(类中的全局变量)和行为(类中的方法)。3、实例化对象的过程:对象实例化过程。 声明对象 初始化对象 类名 对象名 = new 构造方法();4、类与对象的关系: 类是对象的抽象,集合。 对象是类的实例化结果。5
阅读全文
posted @ 2016-07-27 18:58
咖喱不见不散啊

浙公网安备 33010602011771号