摘要:
【Practice11_Zipcode_ArrayList】 Zipcode class: //3 variables: zipcode, city, county, and compare by county //define getter and setter so that it could 阅读全文
摘要:
【定义】 error: external, like out of memory exception: internal, like file not found 父类都是throwable 逻辑有错是runtimeerror 【是否check】 unchecked types: error, ru 阅读全文
摘要:
【定义】 有index的集合 【hash的原理】 term for a situation when two different objects return the same hashcode: hash collision 就是无规律的一一对应排序,相同object对应的HASH应该相同,相同对 阅读全文
摘要:
【真假分数相加】 //inheritence, extends, use this & super 子类的方法 //two constructors, non-default use 'this' 子类的变量 【Java课程学习】 content //use string array to fill 阅读全文
摘要:
【方法】 字写大点,先注释框架 链表:指针走就行了,最多是两个同时一起走。 两个链表求交点 //corner case if (headA == null || headB == null) { return null; } //keep the same length int A_len = ge 阅读全文