上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 77 下一页
摘要: 【定义】 metadata(class class): 程序自身(右边), meta object: 组织meta data, introspect = RTTI 检查 meta object 【API】 FIELD类 的方法和返回都是 CLASS类 Student MISMStudent = ne 阅读全文
posted @ 2018-11-28 23:04 苗妙苗 阅读(164) 评论(0) 推荐(0)
摘要: 改好的controller //yuec2 Yue Cheng package hw3; import java.io.File; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.List; i 阅读全文
posted @ 2018-11-17 09:29 苗妙苗 阅读(300) 评论(0) 推荐(0)
摘要: 【基于过程和基于线程的区别】 过程:多个程序 如GUI 线程:一个程序共享变量,同一个程序的不同部分, 如servelet 每个线程可以独立、同时运行 【实现多线程的方法】 ruunable 具体对象要有start方法+run方法 【线程睡眠】 语句:,指定时间单位后睡眠( ) 可能会throw m 阅读全文
posted @ 2018-11-13 02:06 苗妙苗 阅读(139) 评论(0) 推荐(0)
摘要: 【Practice11_Zipcode_ArrayList】 Zipcode class: //3 variables: zipcode, city, county, and compare by county //define getter and setter so that it could 阅读全文
posted @ 2018-11-10 02:10 苗妙苗 阅读(212) 评论(0) 推荐(0)
摘要: 【I/O流的分类】 左边input读字,右边的reader读文件file 左边是byte, 右边是character(用default encoding,不能自己选,要自己选就要加inputstreamreader或者outputstreamwriter) inputstream/outputstr 阅读全文
posted @ 2018-11-09 10:02 苗妙苗 阅读(231) 评论(0) 推荐(0)
摘要: 【定义】 error: external, like out of memory exception: internal, like file not found 父类都是throwable 逻辑有错是runtimeerror 【是否check】 unchecked types: error, ru 阅读全文
posted @ 2018-10-29 20:46 苗妙苗 阅读(337) 评论(0) 推荐(0)
摘要: MODEL //yuec2 Yue Cheng package hw2; import java.io.File; import java.io.FileNotFoundException; import java.util.HashMap; import java.util.Scanner; im 阅读全文
posted @ 2018-10-29 03:23 苗妙苗 阅读(293) 评论(0) 推荐(0)
摘要: 【定义】 有index的集合 【hash的原理】 term for a situation when two different objects return the same hashcode: hash collision 就是无规律的一一对应排序,相同object对应的HASH应该相同,相同对 阅读全文
posted @ 2018-10-24 04:43 苗妙苗 阅读(184) 评论(0) 推荐(0)
摘要: 【真假分数相加】 //inheritence, extends, use this & super 子类的方法 //two constructors, non-default use 'this' 子类的变量 【Java课程学习】 content //use string array to fill 阅读全文
posted @ 2018-10-22 01:58 苗妙苗 阅读(246) 评论(0) 推荐(0)
摘要: 【方法】 字写大点,先注释框架 链表:指针走就行了,最多是两个同时一起走。 两个链表求交点 //corner case if (headA == null || headB == null) { return null; } //keep the same length int A_len = ge 阅读全文
posted @ 2018-10-21 19:58 苗妙苗 阅读(678) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 77 下一页