Wayne Beit interview backstage JAVA development

1  self-introduction

 

list and the difference between arrays (array of spatially continuous, and there subscript look fast, but additions and deletions data is not efficient, space list discontinuous, find them slow, but high additions and deletions to the efficiency of the data, the list can be free to expand, the array can not )

 

3 to achieve the sort method  (sort ArrayList method call is actually sort method in the Arrays, Arrays of sort method DualPivotQuicksort.sort method is translated biaxial quick sort) 

 

4  know what sort (bubble / insert / select / quick discharge / merge / stack)

 

5  given space is less than the data to be sorted, and how to sort (merge multiplexer)

 

used and the underlying implementation of synchronized (object monitors)

 

7 lock and synchronized difference  (synchronized keyword is java built-in JVM level, the state can not determine whether or not to acquire the lock, automatic release, lock the java class, you can determine the state to acquire the lock, you need to manually release the lock)

 

8 the Spring of ioc, aop 

 

9  MySQL backup command (

mysqldump -uroot -p123456 --databases db1 db2 db3 > /home/dump.sql;

 

10  database objects and isolation levels and what is the serial isolation level (serializable isolation level for all transactions to be queued up, even if the operation is a read)

 

11   index underlying their advantages and disadvantages (B tree)

 

12  How to understand the multi-threaded security issues (if multiple threads at the same time operating a shared data will appear unpredictable results then there is thread-safety issues)

 

13  CAS and volicate (optimistic locking, memory, visibility problems, ABA problem)

 

14 own advantages and disadvantages say next 

 

15  Future Directions

 

16  have any questions for him

 

I wish a speedy get your favorite offer

A large number of interview experience and learning materials books, please visit: AVAJ   

Reply to "offer" be acquired

365 java giant plane by what you want me there

 

Guess you like

Origin www.cnblogs.com/DoubleP/p/11310977.html