Gentle trap - "Who is the king of the code boundary of 3%? "

In Java code community

Some traps may look a bronze

In fact king

It is said that 97% of engineers will be "spike"

Distrust?

There are five "basic problem"

Called the five tender trap

Specious, smoke and mirrors

Real skill test time has come to!

01 The results of this code is output:

A: true

B: false

C: is determined by the hardware instruction

02 This result code is output:

A: true

B: false

C: Compile error

03 Which of the following is true:

A: null

B: throw an exception

C: default

04 Which of the following is true:

A: The two assignment is the same way

B: Recommended a way of assignment

C: b Recommended assignment mode

5 Which of the following statements is wrong:

A: lock lock non-fair

B: finally block does not throw

C: tryLock acquire the lock fails performed directly down

You think it over yet? Fill in the answers in the comments below the district oh:

Secretly tell you a little secret: the above five questions stems from the fact that the industry's classic failure, after the majority of developers in-depth discussion from refining. Similar to solve problems and ideas behind it.
Original link weixin.qq.com

Guess you like

Origin blog.51cto.com/14257001/2409918