Crack the code interview
感覺data structure的話不如刷題
所以就先看後面的吧
knowledge based
Chapter 14
1.Difference between interface and abstract class:
All methods in interface should be abstract.
Some methods should be abstract in abstract class.
abstract method could only be defined in abstract class.
2.Final
Final class could not be subclassed by other classes. could not be extended.
3. A private constructor.
only create an instance from public static method. Factory method pattern.
The class could not be inherited
4. JVM will run finalize before running the garbage collector.
5. Static variables are shared between instances of a classes of di?erent type parameters 這條沒想到吧。這就很可怕了
Database
inner join, outer join, left (outer) join, right (outer) join
講的不深啦
Low Level
Page fault, thrashing 其實都是聽說過的東西,但是不復習的話真的不知道呀
這部分內容真的好底層啊先跳過先跳過
不過真的聽說過有人問到如何寫程序判斷big endian還是small endian
Network
為什麽database的如此淺顯,network的如此難
Crack the code interview