Crack the code interview

Posted 冬日焰火

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章

crack和crash的区别?

Eclipse+Maven(webapp)+Jetty+JReBel的配置方法

MATLAB的crack安装小曲

The incident LOST_EVENTS occured on the master. Message: error writing to the binary log, Error_code

The Week Code - Issue #1

Using Jsdoc to sync the doc with the latest code