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 different 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的如此难

 

 

 


 

posted @ 2017-10-10 12:17  Gryffin  阅读(683)  评论(0编辑  收藏  举报