原创 _1.BreakingTheSurface

Java takes you to new places:The lure of write-once/run-anywhere(寫一次就可以在所有地方執行) is just too strong.The Way Java WorksWr

原创 BinarySearch(二分法查找)

[33, 35, 47, 55, 67, 94] lo                           hi1.定義三個下標    lo=0    hi=a.length-1    mid 先不賦值2.當lo<=hi    3.計算中

原创 <headfirstjava>_1.BreakingTheSurface

Java takes you to new places:The lure of write-once/run-anywhere(寫一次就可以在所有地方執行) is just too strong.The Way Java WorksWr

原创 eclipse斷點上有一條斜線

最近的斷點加上怎麼也進不去,發現斷點上有一條斜線,是跳過該斷點的意思 打開Run---->Skip All Breakpoint就好了

原创 What's the difference between a class and an object?

A class is not an object.(but it's used to construct them)A class is a blue print for an object,it tells the virtual ma

原创 從 Unix 到 Linux 這一段歷史

爲什麼大家常常會說,Linux是很穩定的一套操作系統呢?這是因爲,Linux他有個老前輩,那就是Unix家族!有這個前輩的提攜,讓Linux這個小老弟很快的就成爲一套穩定而優良的操作系統啦!所以,底下我們來談一談Unix到Linux的這一

原创 對象的創建過程

A class A {    int v1=1;    static int v2 = 2;    static {}    public A() {} }   B class B extends A {    int v