Ants gold dress interview notes

Let recently recommended a headhunter to help lower the ants gold dress, waited more than a week almost no news, I thought resume hung up, suddenly No. 3.29 evening at eight a phone call back, direct telephone interview. Face questions about the following

 

 

1.  Under introduce yourself, say you are responsible under the service module?

2. The  business how to avoid because the network jitter, front resubmit the user to refresh the page?

3.  The JVM lock? Reentrant lock, lightweight lock,

4.  things isolation mechanism database

5.  A call more service dao how to ensure the use of a database is linked to support things? ThreadLocal

6. The  the ThreadLocal data structure what

7.  know what and contracting

8. The  loading classes jvm

9.  What CAS that? Old values, expectations, new value

10.  CAS how to ensure that multiple threads value is the latest update? volatile

11.  know the volatile keyword do? To ensure that each thread values are read main memory

12.  how to solve the ABA problem? version number

13. The  fair locks and lock unfair difference? The so-called fair lock refers to which thread to run, you can get a lock first. Unfair lock is regardless of whether the thread is to run, it is random to acquire a lock.

14. The  four kinds of java references? Strong references, virtual references, weak references, soft references

15. A  SpringMVC loading process

16. The  parent-child relationship spring and springmvc container?

17. The  springmnv injected beanspring can use it?

18. A  Spring springmvc parent is something Subcategory parent class has a subclass of what parent class is not injected beanspring not use springmnv

19. The  things that spring is how to achieve?

20. The  dynamic proxy, static proxy, which uses the class, which is in the package, specifically how to achieve?

The above is a telephone interview 

 

 The second round of on-site interviews

 

Five pen questions

Under what circumstances will be 1 ConcurrentModificationException how to avoid

Ambiguous tree 2 a 20 node number up to the sixth floor

3 Bank A to B transfers A to consider things hot Account

4 loading process common to the class web projects

5.  bring a large number of request parameters how these storage parameters, what database design, bottlenecks?

 

Face questions begin:

1.  Under the first self-introduction, said that under specific projects, business?

2. The  order of the class loader, which loader, classloading

3.  said distributed between multiple systems If multiple system requests such as risk control, order fulfillment, payment fails this time how to deal with?

4.  the synchronized and lock what's the difference? What kind of a large number of requests?

5.  S pringbean life cycle?

6.  the init-Method,, Destory-Method, the difference?

7.  Database left index principle, the underlying principle

 

 

 

 

 

 

Published 55 original articles · won praise 31 · views 80000 +

Guess you like

Origin blog.csdn.net/zengfanwei1990/article/details/79813063