java Interview treasure 2019
reference : http://www.wityx.com/3.html
1、 meta What is the function of labels
2、 ReenTrantLock Reentrant lock ( and synchronized The difference between ) summary
3、 Spring What are the limitations of automatic assembly in ?
4、 What is a variable parameter ?
5、 What is a domain model (domain model)? Anemia model (anaemic domain model) And hyperemia model (rich domain model) What’s the difference? ?
6、 say something http,https agreement
7、”= =” and equals What’s the difference between methods ?
8、& and && The difference between ?
9、.super.getClass() Method call ?
10、10 strip SQL Optimization techniques
11、10 Taoist classics java Interview questions _ Interns must ask !
12、15 individual Java Thread concurrent interview questions and answers
13、15 A senior Java Multi thread interview questions and answers
14、2000w data ,redis The only known 20w The data of , How to ensure redis The data in is hot data
15、2018 year java The latest interview questions related to distributed
16、2018 newest java Technical interview questions and answers
17、23 What are the classic design patterns , How to classify ?
18、4 individual Spring Common interview questions and answers
19、58 home MySQL Database development specification
20、9 Improvement Java Performance tips
21、9 Tao common java Written multiple choice questions
22、abstract class and interface What’s the difference?
23、ActiveMQ What is it?
24、activity What is it? ?
25、Ajax What is the biggest characteristic of
26、ajax The shortcomings of
27、ajax When asked , How to explain json data
28、ajax On request get and post Differences in methods
29、Ajxa What are the common problems
30、Anonymous Inner Class ( Anonymous inner class ) Whether it can be or not? extends( Inherit ) Other classes , Whether it can be or not? implements( real present )interface( Interface
31、Anonymous Inner Class( Anonymous inner class ) Can I inherit other classes ? Whether the interface can be implemented ?
32、aop The proxy pattern
33、ArrayList、Vector、LinkedList The difference between
34、ArrayList And LinkedList The difference between
35、ArrayList Delete elements correctly when traversing
36、Arrays.sort Realization principle and Collection Realization principle
37、BeanFactory and ApplicationContext
38、BeanFactory and FactoryBean
39、BIO、NIO and AIO
40、break and continue The role of
41、C/S And B/S difference
42、CAS What is the mechanism ? What’s the downside , What will happen
43、char Can a Chinese character be stored in type variable ? Why? ?
44、Class The role of classes ? Generate Class What are the methods of objects ?
45、Collection and Collections The difference between ?
46、Comparable and Comparator What is the interface ? List their differences
47、ConcurrenHashMap Introduce 1.8 Why should we use red and black trees in China
48、cookie and session The difference between , How to save user state in distributed environment
49、CSRF Attack and defense methods
50、CSS3 What’s new ?
51、CSS in link and @import The difference between
52、CSS Which attributes can be used to define , Make a DOM Elements are not visible in the browser ?
53、css Interview questions and answers
54、display:none And visibility:hidden What’s the difference ?
55、div+css Layout of table What are the advantages of layout ?
56、Doctype The role of ? The difference between strict mode and hybrid mode ?
57、documen.write and innerHTML The difference between ?
58、document load and document ready The difference between
59、drop,delete And truncate The difference between
60、Dubbo And DubboX difference
61、Dubbo in zookeeper Be a registry , If all the registry clusters hang up , Can publishers and subscribers still communicate ?
62、Dubbo What are the roles in ?
63、Dubbo How to solve this problem in terms of security mechanism
64、Dubbo Execute the process ?
65、Dubbo What are the supported protocols ?
66、Dubbo What are the supported registries ?
67、dubbo Service load balancing strategy ?
68、dubbo What are the core configurations ?dubbo What protocol is recommended ?
69、dubbo The difference between connecting a registry and a direct connection
70、dubbo Communication protocol dubbo Why can’t the agreement be passed on
71、dubbo Communication protocol dubbo Why do agreements require more consumers than providers
72、dubbo Communication protocol dubbo Why does the protocol use asynchronous single long connection
73、dubbo Communication protocol dubbo Scope and scenario of application of the agreement
74、Enumeration Interface and Iterator What are the differences between interfaces ?
75、Error And RuntimeException The difference between
76、Error and Exception What’s the difference? ?
77、Eureka What are the three roles in ?
78、Eureka What is a registry ?
79、final、finally and finalized The difference between ?
80、float f=3.4; Whether it is right ?
81、GC What is it? ? Why would there be GC?
82、GC Whether the thread is a daemon thread ?
83、GET and POST The difference between , When to use POST?
84、get and post Differences in requests ?
85、hashCode() and equals() Where is the importance of the method
86、hashCode The role of methods ?
87、HashMap 1.7 And 1.8 Of difference , explain 1.8 What optimizations have been made , How to optimize
88、HashMap Is it thread safe , Why not thread safe
89、HashMap Expansion process
90、HashMap and Hashtable What’s the difference?
91、HashMap and Hashtable The difference between ?
92、HashMap Realization principle
93、hashMap Underlying implementation
94、HashMap Is it orderly ?
95、HashSet How do you make sure you don’t repeat
96、HashSet and TreeSet What’s the difference? ?
97、HashSet Use and principle of (hashCode() and equals())
98、heap and stack What’s the difference? ?
99、Hibernate Object state
100、HR Summary of frequently asked interview questions ( On )
101、HR Summary of frequently asked interview questions ( Next )
102、HTML Encode and URL Encode The difference between
103、html5 What’s new 、 Removed those elements ? How to deal with it HTML5 Browser compatibility issues with new tags ? How to distinguish between HTML and HTML5?
104、HTML And XHTML What’s the difference between them
105、HTML Meaning and version change
106、HTML The function of character entity and its common character entity
107、HTML Functions of forms and common types of form items
108、html Interview questions and answers
109、HTML,CSS,Javascript stay Web What are the roles of development ?
110、http The common status codes are ? What do you mean by “respectively” ?
111、iframe Advantages and disadvantages ?
112、img Of alt And title What are the similarities and differences? ? strong And em Similarities and differences ?
113、Integer And int The difference between
114、Iterator and ListIterator What’s the difference ?
115、j2ee Common design patterns ? Explain factory mode .
116、Jar What is the function of the package
117、JAVA What are the basic data types in , How many bytes does each take up
118、Java Why is it efficient ( High Performance )?
119、Java The signal lamp
120、JAVA How to deal with language exceptions , keyword :throws,throw,try,catch,finally What is the meaning of each of them ? stay try Can an exception be thrown in a block ?
121、java.lang.ThreadLocal Function and principle of ? List the procedures in which you have seen ThreadLocal Use ?
122、java.sql.Date and java.util.Date Connection and difference of
123、Java.util.Map What are the implementation classes of ?
124、JavaScript The same origin strategy
125、javascript Of typeof What data types are returned
126、JavaScript What are the data types of ?
127、Java Three major versions
128、Java Three types of notes
129、Java And JavaSciprt Compare
130、java in final and abstract The role of keywords
131、java in i++ and ++i Similarities and differences
132、java in if Multi branch statements and switch The similarities and differences of multi branch statements
133、java in static The role of keywords
134、java in String The interview questions of the class contain answers
135、java in this and super The role of keywords
136、java in while and do-while Difference between cycles
137、Java Is there a memory leak in , Please give us a brief description ?
138、Java Medium waste recycling (GC) What’s the purpose ? What are they? GC? When is garbage collection ?
139、Java How to realize serialization in , What’s the point ?
140、Java How to get the thread dump file
141、JAVA How to parse in xml, Different ways have advantages and disadvantages ?
142、java What is the mechanism of realizing polymorphism in ?
143、Java What are the three ways to implement thread communication in ?
144、java What’s the use of the middle interface
145、java There are several ways to implement a thread ? What keywords are used to modify synchronization methods ? stop() and suspend() Why is the method not recommended ?
146、Java There are several types of flows in ?
147、Java What is the thread scheduling algorithm used in ?
148、java Medium 8 Basic data types and their bytes
149、Java What are the two types of exceptions in ? What’s the difference? ?Exception and Error What’s the difference? ?
150、java Inheritance in 、 What do overload and overlay mean
151、java State transition of thread in
152、java The execution process of the construction method under the condition of inheritance in
153、Java in , What is a constructor ? What is constructor overloading ? What is a copy constructor ?
154、java The interview questions of binary tree algorithm contain answers
155、Java Code optimization ( On )
156、Java Code optimization ( Next )
157、Java Write a bubble sort
158、Java Write a half search ( Two points search )
159、Java appear OutOf MemoryError(OOM error ) What are the reasons for ? appear OOM After error , How to solve ?
160、Java After thread creation , call start() Methods and run() The difference between
161、Java What are the main implementation classes of reflection technology , What are the functions ?
162、java The use and function of reflection 、 Its advantages and disadvantages
163、java Type conversion rules for basic data types
164、Java What is the structure of the heap like ? What is the permanent generation in the pile (Perm Gen space)?
165、java Summary of multithreaded concurrent interview questions ( In the history of the most complete 40 Avenue )
166、java Multithreaded interview questions _ Thread concurrent interview questions
167、java The multithreaded interview questions include answers
168、java How to generate a 0-100 Random integer of ?
169、Java When can objects be garbage collected ?JVM Will garbage collection take place in the permanent generation of ?
170、java Non technical interview questions for Engineers
171、java Engineer Interview linux The operation choice interview question contains the answer ( On )
172、java Engineer Interview linux The operation choice interview question contains the answer ( Next )
173、java Notes for Engineer Interview ( A set of Taiji sword techniques is taught to you )
174、java Engineer Interview 18 Non technical questions
175、Java What are the common open source data connection pools , And make a simple description of the parameters
176、java Why do serialization objects define serialversionUID value ?
177、java What is the development framework ?
178、Java exception handling try-catch-finally Implementation process of
179、java Exception handling interview questions common multiple choice questions with answers
180、JAVA performance optimization
181、java Performance optimization collection
182、java What are the characteristics of arrays
183、Java Is there any goto?
184、java Check whether Baidu includes websites url
185、Java Regular expressions can filter out html Link address and title in
186、java Of 4 Species reference Weak and weak
187、Java Of HashMap and Hashtable What’s the difference? HashSet and HashMap What’s the difference? ? What are the ways to overload the number saved using these structures ?
188、Java How to understand the safety of
189、Java What is serialization of , How to achieve Java Serialization ? List the procedures in which you have seen Java serialize ?
190、Java What are the class loaders of , Each class loader loads those classes , What is the parent delegate model , What does it do ?
191、Java What programmers most often do 3 Collection errors
192、java Programmers often arrange English words
193、java The best way for programmers to prepare for work ( Sunflower treasure dian )
194、Java How to optimize the program ?
195、Java Program performance optimization techniques
196、java Common multiple choice questions in written examination ( You didn’t discuss )
197、java Written test handwritten algorithm interview questions are full of answers
198、java There are several multiple-choice questions in the written examination
199、java Written test questions and answers (java Difficulty written test questions )
200、java A complete set of written examination questions IO Flow common multiple choice questions
201、java The written test questions are complete with answers ( classic 11 topic )
202、Java What is the principle of thread priority setting ?
203、java Advantages and principles of buffering flow
204、java Network programming :IP Address and port number
205、java Network programming :OSI The seven story model and TCP/IP Model is introduced
206、java Network programming : What is? Socket Programming ?
207、Java How to deal with language exceptions , keyword :throws、throw、try、catch、finally How to use them respectively ?
208、Java Cross platform principle ( Bytecode file 、 virtual machine )
209、java Data preparation for Software Engineer Interview ( I’ll give you a Book of exorcism sword )
210、java Recursive algorithm exercise : Use recursive algorithm to write a program to calculate n!
211、JAVA Traverse Map All the elements
212、Java Collection architecture (List、Set、Collection、Map The difference and connection )
213、java Comparison of sets and arrays ( Why introduce sets )
214、Java What are the basic interfaces of the collection class framework ?
215、Java What are the best practices for a collection class framework ?
216、java The collection type written examination choice question arrangement contains the answer
217、Java A summary of the interview questions and answers
218、Java Collection interview questions classic 10 individual
219、java Interview questions and answers 2018Spring High frequency interview questions
220、java Interview questions are the most likely to make mistakes 8 Avenue
221、java The interview question network has opened
222、JDBC、ibatis(mybatis)、Hibernate What’s the difference ?
223、JDBC How to process transactions in ?
224、JDK JRE JVM The difference between ?
225、jdk1.8 New characteristics
226、JDK and JRE What’s the difference ?
227、jquery How to convert an array to json character string , And then convert it back ?
228、JQuery An object can bind multiple events at the same time , How this is achieved ?
229、jquery Arrange interview questions
230、js What are string manipulation functions
231、JSP The difference between static inclusion and dynamic inclusion in ?
232、JSP and Servlet What does it matter ?
233、JSP Of 9 Built in objects and 4 Domain objects ?
234、js Remove string spaces
235、js How to delay loading ?
236、js How to add 、 remove 、 Move 、 Copy 、 Create and find nodes
237、JS add to 、 remove 、 Move 、 Copy 、 Create and find nodes
238、JS Get browser URL Parameters in string
239、js Interview questions and answers
240、JVM Common garbage collection algorithms
241、JVM What is the class loading mechanism of ? What are the ways to do it ?
242、JVM Common command line tools for tuning and JVM Common tuning parameters
243、List and Set The difference between
244、List、Map、Set When three interface access elements , What are the characteristics of each ?
245、List、Set、Map Inherit from Collection Interface ?
246、List In the process of subList after , The original list Add 、 Delete 、 Change , Then operate subList What will happen
247、List How to get rid of the same objects ? Please simply implement a method with code
248、Lucene What is it? ?
249、Map In the implementation class of , What is orderly , What is out of order , What is orderly is how to ensure its orderliness , Which order performance do you think is better
250、Math.round(11.5) How much? ?Math.round(-11.5) How much? ?
251、Maven Interview questions and answers
252、memcached and redis The difference between
253、Memcache And Redis The difference between
254、MVC Mode and its advantages and disadvantages
255、MVC What is the basic idea of the mode to complete the paging function ?
256、MVC Each part of has those technologies to implement ? How to achieve ?
257、mybatis $ and # The difference between
258、MyBatis When to bind with annotations , When to use xml binding ?
259、MyBatis There are several ways to achieve one-on-one ? How to operate it ?
260、MyBatis There are several ways to implement interface binding , How are the differences realized ?
261、Mybatis How will sql The execution result is encapsulated as the target object and returned ? What are the mapping forms ?
262、Mybatis How is paging done ? What’s the principle of paging plug-ins ?
263、MyBatis Level 1 cache and level 2 cache
264、MyBatis The advantages of
265、MyBatis What are the benefits of ?
266、MyBatis What is the interface binding for , What are the benefits ?
267、Mybatis Can perform one-on-one 、 One to many associated queries ?
268、MyBatis What’s going on inside Sql How to set it up ? What’s the grammar ?
269、MyCat What is it? ?
270、MYSQL How to optimize ? Combine your experience
271、MySQL Storage engine - MyISAM And InnoDB difference
272、MySQL Database index technique and index optimization
273、mysql Of sql Sentence optimization method summary of interview questions
274、Mysql What are the engines of ? Do you support things ?DB What are the storage engines ?
275、Mysql Database table lock for 、 Row lock 、 Page level lock
276、Netty The major components of
277、Netty What is it?
278、Netty What is the performance of the high performance of
279、new What do operators do ?
280、Nginx What are the functions ?
281、Node.js The applicable scenarios of ?
282、Node Advantages and disadvantages of
283、Oracle Three levels of sub query statement and its meaning to complete paging function ?
284、oracle Database written test questions :sql The statistics show that there are two or more courses with scores in 80 The names and ages of the above students ?
285、Overload and Override The difference between .Overloaded Whether the method of can change the type of return value ?
286、PHP Language is the best language
287、postgresql stay order by When the union index fails
288、px and em The difference between
289、Query Interface list Methods and iterate What’s the difference ?
290、redis and memcached The difference between
291、Redis and Memcache Difference and contrast , How to choose
292、redis Common performance problems and solutions
293、Redis What are the advantages ?
294、redis Principle And storage structure Persistent and non persistent
295、redis Application scenarios of
296、Redis High concurrency and fast reasons
297、redis comparison memcached What are the advantages ?
298、redis Interview questions
299、Redis The interview questions are full of answers
300、Request The main method of object ?
301、Restful The benefits of
302、Ribbon and Feign The difference between
303、Ribbon What is it? ?
304、Ribbon What are the common load balancing strategies ?
305、Servlet How to get the query parameters or form data submitted by users ?
306、Servlet Life cycle of ?
307、SessionFactory Is it thread safe ?Session Is it thread safe ? Two threads can share one Session Do you ?
308、Session Of load and get What’s the difference between methods ?
309、Session Of save()、update()、merge()、lock()、saveOrUpdate() and persist() What’s the difference ?
310、Set The elements in can’t be repeated , So how to distinguish repetition from non repetition ? Yes, it is == still equals()? What do they have difference
311、short s1 = 1; s1 = s1 + 1; What’s wrong with it? ?short s1 = 1; s1 += 1; What’s wrong with it? ?
312、socket signal communication
313、Solr What is it? ?
314、Spring Bean Loading process of
315、Spring Bean Life cycle of , How is it managed
316、Spring Boot Interview question summary
317、Spring Cloud Bus What is it? ?
318、Spring Cloud And Dubbo What’s the difference ?
319、Spring IOC The understanding of the , Initialization process
320、Spring How are transactions managed , Transaction management mechanism
321、Spring What design patterns are used in the framework ?
322、SpringBoot Advantages and disadvantages
323、SpringBoot A few common notes
324、springboot How to add 【 Modify the code 】 Automatic restart function
325、springboot frequently-used starter What are they? _springboot Interview questions
326、SpringBoot course _SpringBoot Quick start tutorial
327、Springboot Database connection pool super times wrong solution ( Close test effectively )
328、SpringBoot Core functions
329、SpringBoot characteristic
330、springboot Principle of automatic configuration
331、springboot How to read configuration files
332、springboot Integrate mybatis The process of
333、springcloud How to realize service registration and discovery
334、springcloud The function of the circuit breaker
335、SpringMVC And Strus2 The difference between
336、SpringMVC And Struts2 The main difference
337、SpringMVC Implementation process of ?
338、Spring in Bean What are the scope of ?
339、Spring Medium BeanFactory and ApplicationContext What’s the connection ?
340、Spring What are the two cores of ?
341、spring Constructor injection and setter Differences in method injection ?
342、Spring What are the propagation characteristics of the transaction
343、sql Server in float、real、decimal(numeric) Differences in data types
344、sqlserver in char(n)、varchar(n)、text What’s the difference? ?
345、sqlserver in nchar(n)、nvarchar(n)、ntext What’s the difference? ?
346、sql Optimize
347、SQL How to optimize the execution efficiency ?
348、SQL written examination :Student Student list ,Course The curriculum ,Sc Course selection table
349、SQL Pen test : Student transcript
350、SQL Pen test : Employment table name already exists in the library
351、SQL Pen test : Management position business training information
352、SQL Pen test : Please use sql Statement implementation table 2 Query results of
353、SQL Pen test : Here is the student list (student) The structure of
354、sql Pen test : Here is the result of the student examination
355、sql Transfer line column
356、SQL What types of languages are included ?
357、SQL Interview questions : Please optimize the following database statements , Make it more efficient
358、Statement and PreparedStatement What’s the difference? ? Which is better ?
359、Static Nested Class and Inner Class Different
360、String s=“a”+“b”+“c”+“d”; How many objects have been created ?
361、String st = null and String st =“ ” The difference between ?String s = new String(“xyz”) Several objects are created ?
362、String and StringBuilder、StringBuffer The difference between ?
363、String Is it the most basic data type ?
364、String Of split(String regex) Method parameters can be passed directly to . Do you
365、String Why class is final Of ?
366、Struts2 How to visit HttpServletRequest、HttpSession and ServletContext Three domain objects ?
367、Struts2 What is the purpose of the interceptor in ?
368、Struts2 Default package in struts-default What’s the role ?
369、Struts2 in ,Action No direct requests from users , Why can it handle user requests ? And how to know which one a request is to Action To deal with it ?
370、Struts2 in ,Action How to get the data users input from the page , How to transfer data to view layer for display ?
371、struts2 The implementation process of
372、switch Can statements work on byte On , Can it work in long On , Can it work in String On ?
373、swtich Whether it works on byte On , Whether it works on long On , Whether it works on String On ?
374、synchronized The difference between static methods and normal methods ?
375、synchronized Implementation principle and lock optimization
376、synchronized How keywords work
377、synchronized Keyword usage ?
378、synchronized and lock difference , The difference between reentrant lock and non reentrant lock
379、TCP Sticky package / The reason and solution of unpacking
380、TCP Three handshakes
381、TCP And UDP The difference between
382、Thread Class wait( ) and sleep( ) The difference between ?
383、throw and throws The difference between 、 And treatment ?
384、Tomcat/ WebSphere/WebLogic Function and characteristics of
385、Tomcat,Apache,JBoss and WebLogic The difference and connection
386、TreeMap and TreeSet How to compare elements in sorting ?Collections In a tool class sort() Method how to compare elements ?
387、TreeMap and TreeSet How to compare elements in sorting ?Collections In a tool class sort() Method how to compare elements ?
388、TreeSet Principle and use of (Comparable and comparator)
389、try{} There’s one in it return sentence , So it’s right here try After finally{} Will the code in be executed , When is it implemented , stay return Before or after ?
390、union and union all What’s the difference ?
391、Unsupported major.minor version 52 What’s the exception , How to create , How to solve ?
392、Vector、ArrayList and LinkedList What’s the difference?
393、volatile Implementation principle of
394、volatile Whether keyword can guarantee thread safety ?
395、VSFTPD What does that mean? ?
396、wait and sleep The difference between
397、web.xml What is the function of documents ?
398、webservice Scenarios used
399、WEB Application is actively pushed from the server Data What are the ways to get to the client ?
400、web Application security issues
401、XML There are several forms of document definition ? What is the essential difference between them ? analysis XML How do documents work ?
402、Zepto How to solve this problem ?
403、ZooKeeper Frequently asked questions
404、Zookeeper Service registration and discovery
405、zookeeper Cluster configuration
406、ZooKeeper The interview questions are full of answers
407、 Shuitianping village in Baofeng town is here 10 Serious problems in work during the year
408、《java Algorithm Encyclopedia 》 The first phase
409、《java Algorithm Encyclopedia 》 The third phase
410、《java Algorithm Encyclopedia 》 The second phase
411、《java Algorithm Encyclopedia 》 Issue 5
412、《java Algorithm Encyclopedia 》 The fourth phase
413、《java Classical algorithms 》 Sunflower Scripture 11 To 20 piece
414、《java Classical algorithms 》 Sunflower Scripture 1 To 10 piece
415、《java Classical algorithms 》 Sunflower Scripture 21 To 30 piece
416、《java Classical algorithms 》 Sunflower Scripture 31 To 43 piece
417、《java Interview treasure 》 And hibernate Frequently asked questions
418、《java Interview treasure 》 And javascript Frequently asked questions
419、《java Interview treasure 》 And java Basic common interview questions
420、《java Interview treasure 》 And java Multithreaded interview questions
421、《java Interview treasure 》 And java common IO Interview questions
422、《java Interview treasure 》 And java Design pattern interview questions
423、《java Interview treasure 》 And java Object oriented interview questions
424、《java Interview treasure 》 And JSP Frequently asked questions
425、《java Interview treasure 》 And servlet Frequently asked questions
426、《java Interview treasure 》 And spring Frequently asked questions
427、《java Interview treasure 》 And SQL Frequently asked questions
428、《java Interview treasure 》 And UML Frequently asked questions
429、《java Interview treasure 》 Common interview questions for business
430、 One .java Can multiple classes be included in the source file ( Not an inner class )? What are the limitations ?
431、 A young programmer and a project manager
432、 What are the variables that make up a class ?
433、 A pain b The programmer
434、 There are a lot of pictures on one page ( Large e-commerce website ), Slow load , How can you optimize the loading of these images , Give users a better experience .
435、 A page from input URL To the page loading display complete , What happened in the process ?
436、 A software engineer , A hardware engineer and a project manager
437、 A word about group bySQL Sentence interview questions
438、 Can an object be created without a constructor ?
439、 Stories with monkeys
440、 Two objects have the same value x.equals(y) == true, But it can be different hash code, Is that right ?
441、 Two objects have the same value x.equals(y) == true, But it can be different hash code, Is that right ?
442、 Two tables, please SQL Inquire about , All customer orders date the latest top five order records .( Indicate separately MySQL. Oracle How to write it )
443、 Serial (serial) Collector and throughput (throughput) What is the difference between collectors ?
444、 Why use spring cloud config Configuration center ? What problem does it solve ?
445、 Why use microservice tracking ? What problem does it solve ?
446、 Why use connection pools ?
447、 Why initialize styles ?
448、 Why collection classes are not implemented Cloneable and Serializable Interface ?
449、 The mainstream distributed framework
450、 The difference between primary key and foreign key
451、 Examples of synchronous and asynchronous .
452、 Optimism lock Pessimistic locking
453、 Know which serialization protocols ? Use scenarios 、 How to choose
454、 The problem of concurrent transaction access ?
455、 The nature of transactions ?
456、 What are the isolation levels of transactions ?
457、 Dichotomy query ( Recursive implementation )
458、 Internet “ High concurrency ” Structure interpretation
459、 Internet companies often ask Java Interview questions
460、 Product Manager TMD What do you want
461、 When to call doGet() and doPost()?
462、 When to use composite mode ?
463、 When to use visitor mode ?
464、 When to use assert
465、 What is? CopyOnWriteArrayList, It is associated with ArrayList What’s the difference? ?
466、 What is? Ajax and JSON, Their advantages and disadvantages
467、 What is? AKF Resolution principle ?
468、 What is? DAO Pattern ?
469、 What is? Dubbo?
470、 What is? ELK(ElasticSearch, Logstash, Kibana)? Why use ELK, What problem does it solve ?
471、 What is? JAF
472、 What is? Java SE、Java EE、Java ME?
473、 What is? Java Priority queue (Priority Queue)?
474、 What is? java The reflex mechanism ?
475、 What is? Java virtual machine ? Why? Java Be called “ Platform independent programming language ”?
476、 What is? JMS
477、 What is? JNDI
478、 What is? JTA
479、 What is? Nginx?
480、 What is? ORM?
481、 What is? RPC Remote procedure call ?
482、 What is? SOA, Talk about your SOA The understanding of the ?
483、 What is? Spring Cloud?
484、 What is? SpringBoot
485、 What is? springboot_springboot Interview questions
486、 What is? Web Service(Web service )
487、 What is? Web Service(Web service )?
488、 What is? web Containers
489、 What is? XSS attack ? What is? SQL Injection attack ? What is? CSRF attack ?
490、 What is business ? What is a lock ?
491、 What is value transfer ? What is reference passing ?
492、 What is memory leak ?
493、 What is distributed tracking Zipki?
494、 What is responsive design ?
495、 What is a basic watch , What is a view , What is the difference and connection between the two ?
496、 What is stored procedure ? What are the advantages ?
497、 What is stored procedure ? What to call ?
498、 What is an object (Object)?
499、 What is microservice
500、 What is inversion of control (IOC)? What is dependency injection ?
501、 What is database constraint , What are the common constraints ?
502、 What is data model ? What is normalization ?
503、 What is data encapsulation ?
504、 What is the catastrophic avalanche effect of services ?
505、 What is the template method pattern ?
506、 What is a deadlock (deadlock)?
507、 What is index , What are the advantages ?
508、 What is vertical segmentation / vertical partitioning ?
509、 What is thread safety ?
510、 What is thread local variable ?
511、 What is a thread pool (thread pool)?
512、 What is cache penetration ? What is a cache avalanche ? How to avoid ?
513、 What is a compiled language , What is explanatory language ?java Can be classified into ?
514、 What is gateway service ? Gateway service , The router 4 What is the routing rule method ?
515、 Introduce JAVA Medium Collection FrameWork( Including how to write your own data structure )?
516、 Introduce to you Hibernate The cache of
517、 The difference between agent mode and decorator mode
518、 With Oracle11R For example, a brief description of database cluster deployment
519、 Start from the front end SEO What needs to be considered ?
520、 The inside story of recruiting programmers ( Top secret sharing )
521、 Elegant degradation and gradual enhancement
522、 Tradition for loop 、 enhance for loop 、 And iterators ?
523、 Scope public,private,protected, And the difference when not writing
524、 You know big. O Symbol (big-O notation) Well ? Can you give examples of different data structures ?
525、 Why do you choose maven Build ?
526、 What are the application server optimization technologies you have used ?
527、 What are the technologies you have used for website front-end optimization ?
528、 What’s used in your project JSTL label ?
529、 Use final When keyword modifies a variable , Reference cannot change , Or the referenced object cannot be changed ?
530、 Use java Of IO Stream complete folder copy
531、 Use JDBC When operating the database , How to improve the performance of reading data ? How to improve the performance of updating data ?
532、 Use MyBatis Of mapper What are the requirements when calling the interface ?
533、 What are the benefits of using a tag library ?
534、 Can index query improve query performance ? Why? ?
535、 What’s the difference between dependency injection and engineering patterns ?
536、 What is full text retrieval ?
537、 About java More details of synchronization lock
538、 A set of values with the same name ,struts2 How to achieve encapsulation
539、 The difference between memory overflow and memory leak
540、 The difference between inner connection and outer connection
541、 An inner class can refer to its containing class ( External class ) Members? ? Are there any restrictions ?
542、 Write a complete function , Implement copy array
543、 Write a complete program : Input number n, The program automatically calculates n! And the output .( notes 1:n!=123…*n, notes 2: Use recursive implementation )
544、 Write a method , Implement string inversion , Such as : Input abc, Output cba
545、 Write a method , Enter a filename and a string , Count the number of times this string appears in this file .
546、 Write a sort algorithm , Input 10 A digital , Separated by commas , You can select ascending or descending sort according to the parameters , Please indicate the sort algorithm .
547、 Write hibernate Primary key generation strategy in ?
548、 Write java.lang.Object Class
549、 Write a paragraph java Code , Finish writing string to file
550、 Write out database MySQL,Oracle,SqlServer Statement for paging
551、 How to reduce page load time
552、 Write one for each div Centered and centered in content css Property settings
553、 Explain separately split(),slice(),splice(),join()?
554、 What problems do distributed services solve , What technologies do distributed frameworks use
555、 Distributed theory (CAP,Base,paxos)
556、 The implementation principle of thread pool and thread scheduling process are analyzed
557、 list java Common runtime exceptions
558、 List common byte input stream and output stream and explain their characteristics , At least 5 Yes .
559、 establish n Multiple threads , How to ensure that these threads start at the same time ? See clearly , yes “ meanwhile ”.
560、 The two ways to create multithreading are different ?
561、 There are several different ways to create threads ? Which do you like ? Why? ?
562、 Image format difference in front-end development , How to optimize image
563、 Performance optimization principles of front-end development
564、 Front end performance optimization method
565、 Can anonymous inner classes inherit or implement interfaces ? Why? ?
566、 Ten common MyBatis Interview questions
567、 Interview questions of Huawei : Why can’t overload be distinguished by return type , Why? ?
568、 Huawei interview questions : In a watch Id There are multiple records , Put all this id The records of , And show how many records there are
569、 The singleton pattern
570、 Thread security in singleton mode
571、 Take out sql Table low 31 To 40 The record of ( Grow automatically ID Primary key )
572、 Poor procedural ape
573、 The most useful java Arrange interview questions
574、 The difference between synchronization code block and synchronization function ?
575、 The difference between synchronous and asynchronous ?
576、 The same-origin policy 、 Cross domain 、Jsonp What is it? ?
577、 Starting a thread is called run() still start() Method ?
578、 Which? css Property can be inherited ?
579、 stay Hibernate To achieve data retrieval 5 Ways of planting ?
580、 stay JavaScript The beginning of the source file contains use strict What’s the point and benefit
581、 stay Java How to realize multithreading in ? Describe the process of thread state change .
582、 stay Java in , Why can’t the basic type be HashMap Key value of , It’s just a reference type ?
583、 stay Java in , How to jump out of the current multiple nested loop ?
584、 stay JS Which of them will be implicitly converted to false
585、 stay Web How to obtain Spring Of IoC Containers ?
586、 In binary data , Move the decimal point one place to the right , What about the data ?
587、 In multithreaded programming ,wait How to call methods ?
588、 Monitor (Monitor) Inside , How to do thread synchronization ? What level of synchronization should the program do ?
589、 When programming the database , What is the role of the connection pool ?
590、 Garbage collection algorithm overview
591、 Heap memory overflow and solutions
592、 What’s the use of declarative , What problem to solve ?
593、 There are several ways to implement multithreading , What are they ? There are several ways to achieve synchronization , What are they ?
594、 What should be considered in the architecture of a large website ?
595、 How to optimize database , How to improve the performance of database ?
596、 How to optimize database , How to improve the performance of database ? Database optimization experience ?
597、 How to use HibernateDaoSupport Integrate Spring and Hibernate?
598、 How to reverse and replace strings ?
599、 How to optimize the files and resources of the website ?
600、 How to integrate Oracle The database in goes to DB2 in , We need to keep the table structure and data unchanged
601、 How to balance the use of unordered array or ordered array ?
602、 How to verify digital type ?
603、 How do I detect deadlocks ? How to prevent deadlock
604、 How to eliminate duplicate elements in an array ?
605、 How to ensure N Threads can access N Resources do not cause deadlock at the same time ?
606、 How to maintain the integrity and consistency of database ?
607、 How to solve the catastrophic avalanche effect ?
608、 How to solve cross domain problems ?
609、 How to create objects by reflection ?
610、 How to configure a servlet?
611、 How to reload Spring Boot Changes on , Without restarting the server ?
612、 How to prevent duplicate page submission
613、 If the variable is final modification , How about ? If the method final modification , How about ?
614、 If you have to implement it Spring AOP, How to achieve
615、 Character stream byte stream connection difference ; When to use byte stream and character stream ?
616、 The difference between byte stream and character stream
617、 Perfect solution jsoup Get response content incomplete
618、 Implement a function clone, It can be done to JavaScript Medium 5 Major data types ( Include Number、String、Object、Array、Boolean) Copy values
619、 What are the technologies for session tracking ?
620、 Yes Java Understanding of distributed architecture
621、 Yes Node The advantages and disadvantages of
622、 Yes WEB Standards and W3C Understanding and understanding of
623、 How to understand the position of front-end interface engineer ? What’s the future of it ?
624、 The little girl had to ask her father to tell a story before she went to bed
625、 What are the commonly used libraries ? Common front-end development tools ? What applications or components have been developed ?
626、 frequently-used Java Multi thread start mode ,Executors There are several common types of thread pools ?
627、 frequently-used Web What are the containers ?
628、 common javaweb Written test questions include answers
629、 common java What are the system architecture styles ? What are the advantages and disadvantages of each ?
630、 common SQL Written test questions include answers
631、 Concurrency issues
632、 Serialization and deserialization
633、 Those design patterns are used in the development ? In what occasion ?
634、 Opening and closing principle
635、 How to load asynchronously
636、 When an object is passed as a parameter to a method , This method changes the properties of this object , And return the changed result , So is it value passing or reference passing ?
637、 When a thread enters an object’s synchronized Method A after , Whether other threads can enter the synchronized Method B?
638、 When a thread enters an object synchronized After the method , Whether other threads can enter other methods of this object ?
639、 WeChat development sdk_ Wechat marketing tools sdk_ Wechat customization development _ Second development of enterprise wechat SDK Reference documents
640、 What are the six common design patterns of microservice architecture ?
641、 Microservice framework SpringBoot Summary of interview questions
642、 How to GB2312 Encoded string converted to ISO-8859-1 Encoded string ?
643、 Pessimistic locking , Optimism lock , Distributed lock
644、 The member variable uses static Decoration and disuse static What’s the difference between embellishments ?
645、 My child , You’d better not be a programmer
646、 Handwriting 9×9 Multiplication table , Bubble sort
647、 extract BaseAction The reason of ?
648、 In the abstract (abstract) Whether the method can be static at the same time (static), Whether it can be a local method at the same time (native), Whether it can be simultaneously synchronized modification ?
649、 abstract class (abstract class) And interface (interface) What are the similarities and differences ?
650、 What are the sorting algorithms ? use Java Write a sorting system
651、 Interface inheritable or not ? Whether abstract class can be implemented (implements) Interface ? Whether abstract class can inherit entity class (concrete class)?
652、 Interface inheritable or not (extends) Interface ? Whether abstract class can be implemented (implements) Interface ? Whether abstract class can inherit concrete class (concrete class)?
653、 Describe the JVM load class The principle and mechanism of documents ?
654、 Describe what you use most java Programming style
655、 What are the three paradigms of database ?
656、 Database transaction and isolation level
657、 What are the disadvantages of database indexing ?
658、 How to go to space in database ?
659、 Four characteristics of database , Isolation level of database
660、 The necessity and steps of database design
661、 What is the principle of database connection pool
662、 Conversion between data types ?
663、 Array (Array) And list (ArrayList) What’s the difference? ? When should I use it Array instead of ArrayList?
664、 How arrays are allocated in memory
665、 Does the array have length() Method ?String Is there any length() Method ?
666、 Knock one night code , Two lines of old tears
667、 Art programmer 、 General programmers and 2B The programmer
668、 Can I static Method issued internally static Method call ?
669、 Can I inherit String class ?
670、 What is the best way to DOM Set it up CSS style ?
671、 Constructors (constructor) Whether it can be rewritten (override)?
672、 Several skills an architect needs to have
673、 standard SQL Grammar and sentence
674、 Taohua Temple – Programmer Edition
675、 Template method pattern
676、 What is the forward index? ? What is an inverted index ?
677、 Compare the Java and JavaSciprt?
678、 What are the application scenarios of message service ?
679、 Message driven Stream What problems have been solved ?
680、 In depth understanding of Java Interface and abstract class
681、 What is the role of the producer and consumer model ?
682、 use Java Write a singleton class ?
683、 use Java How to realize that there are 1 Million records DB Store ?MySQL How to design a database with hundreds of millions of data ?
684、 Use one sql The sentence put b In the table ID and NAME The value of the field is copied to A In the table
685、 Work it out in the most efficient way 2 multiply 8 And so on ?
686、 Draw Java Set class hierarchy in ?List,Set,Map What are the characteristics of each ?
687、 Programmer’s view of love
688、 A programmer’s joke
689、 In the eyes of programmers, the wife, the Secretary, and the mistress
690、 Women in the eyes of programmers
691、 Programmer’s joke
692、 When the programmer retired, he decided to practice calligraphy
693、 Program apes and beautiful girls
694、 Salary increase of procedural apes
695、 A brief introduction spring Of ioc and aop
696、 sketch ajax The process of
697、 sketch Dubbo The equilibrium strategy and the cluster fault-tolerant mode
698、 sketch Hibernate The common optimization strategies in ?
699、 sketch Java Memory management mechanism , As well as the principle and use of garbage recycling Java Tuning Tools
700、 sketch Mybatis Of Xml Mapping files and Mybatis Mapping between internal data structures ?
701、 sketch struts2 The principle and life cycle of value stack ?
702、 sketch Struts2 Exception handling mechanism ?
703、 sketch synchronized and java.util.concurrent.locks.Lock Similarities and differences ?
704、 Briefly src And href The difference between
705、 Briefly describe the design patterns you understand ?
706、 Briefly, you’re right web Performance optimization scheme ?
707、 A brief introduction to ” Six principles and one principle “?
708、 The brief is based on TCP and UDP Of Socket The main steps of programming
709、 Briefly describe the working principle of the interceptor ?
710、 Describe the five states of threads ?
711、 Brief thread life cycle
712、 class ExampleA Inherit Exception, class ExampleB Inherit ExampleA
713、 Class loading process
714、 The relationship between classes and objects
715、 The function of index ? And its advantages and disadvantages ?
716、 How threads synchronize and communicate ?
717、 Let’s talk about thread safety and non thread safety , How does the bottom layer realize (hashmap,concurrenthashmap)
718、 How thread pools work , What are the rejection strategies for tasks
719、 The type of thread pool , Distinguish and use scenarios
720、 What’s the difference between thread pool isolation and semaphore isolation ?
721、 Thread sleep() Methods and yield() What’s the difference ?
722、 Basic concept of thread 、 The basic state of a thread and the relationship between states
723、 classic sql Interview questions and answers No 10 period
724、 classic sql Interview questions and answers No 1 period
725、 classic sql Interview questions and answers No 2 period
726、 classic sql Interview questions and answers No 3 period
727、 classic sql Interview questions and answers No 4 period
728、 classic sql Interview questions and answers No 5 period
729、 classic sql Interview questions and answers No 6 period
730、 classic sql Interview questions and answers No 7 period
731、 classic sql Interview questions and answers No 8 period
732、 classic sql Interview questions and answers No 9 period
733、 The foundation of classics Java Interview questions and answers
734、 Give some advice to programmers
735、 Maintain database integrity 、 Uniformity 、 Do you prefer to use triggers or write your own business logic ? Why? ?
736、 To write java There are several ways to implement multithreaded programs ?
737、 Write a function that intercepts a string , Input as a string and number of bytes , Output as a string truncated by bytes
738、 The difference between compile time and run time exceptions ?
739、 NetEase MySQL Database development optimization manual (PDF)
740、 The mode and characteristics of network application
741、 The artist took his sister out on a date
742、 My wife calls my husband who is a programmer
743、 Autoboxing and unboxing
744、 How to get the class object of a class ?
745、 virtual machine JVM Part of the
746、 What are the elements in the line ? What are the block level elements ? empty (void) Elements have those ?
747、 The relationship between tables
748、 Table has A B C The three column , use SQL Statements for : When A Column greater than B Select when column A Column otherwise select B Column , When B Column greater than C Column time choice B Column otherwise select C Column
749、 Expression language (EL) Which operators are supported ?
750、 What is the view ? What is a cursor ?
751、 explain jsonp Principle , And why not really ajax
752、 Explain the stack in memory (stack)、 Pile up (heap) And static area (static area) Usage of ?
753、 Function of trigger ?
754、 Design 4 Threads , Two of these threads pair at a time j increase 1, Two other thread pairs j Every time reduce 1
755、 Design database should pay attention to those problems ?
756、 What is the design pattern , What’s the use of design patterns ?
757、 Give voice Servlet Life cycle of ?
758、 say something JavaScript Prototype , Prototype chain ? What are the characteristics of ?
759、 say something java The definition of recursion and its advantages and disadvantages
760、 say something Spring MVC Framework characteristic
761、 say something SSM Advantages and disadvantages and use scenarios
762、 say something tcp/ip agreement
763、 Tell me what you think of the design pattern
764、 Talk about dynamic agent design pattern
765、 Please write a stack overflow 、 Heap overflow code
766、 Please write a paragraph java Insert sort code
767、 Please write a paragraph java Select the sorting code
768、 Please write down the most common 5 individual runtime exception?
769、 Please check below J2EE A term commonly used in ( Or simply describe )
770、 Please describe cookies,sessionStorage and localStorage The difference between ?
771、 Request forwarding (forward) Redirection (redirect) The difference between ?
772、 Please use one sql Statement to query these three records and display them according to the following conditions
773、 What do you know about thread synchronization
774、 Talk about your project options Struts2 The reason of ?
775、 Talk about the difference between interceptors and filters ?
776、 To talk about Hibernate First level cache of 、 Second level cache and query cache ?
777、 Talk about you Hibernate The understanding of the ?
778、 Talk about you Mybatis The understanding of the ?
779、 Talk about you Spring The understanding of the ?
780、 Talk about you Struts The understanding of the ?
781、 Talk about test driven development (TDD) The benefits and your understanding of
782、 Talk about Cookie The disadvantages of ?
783、 Catch up network mysql Develop military regulation sharing
784、 The connection and difference between input stream and output stream , Node flow and processing flow connections and differences
785、 Difference between process and thread
786、 What’s the difference between adapter mode and agent mode ?
787、 What’s the difference between adapter mode and decorator mode ?
788、 in the light of jQuery Optimization method ?
789、 This paper ArrayList、Vector、LinkedList Storage performance and characteristics of ?
790、 This paper Servlet and CGI The difference between ?
791、 This paper Session The process of loading entity objects ?
792、 This paper Struts2 Medium Action How to write , Single case or not ?
793、 Explain asynchronous loading
794、 This paper expounds three states of entity object and transformation relationship ?
795、 Alibaba Tencent school recruitment Java Summary of interview questions and answers
796、 Level of isolation ?
797、 What’s the difference between centralized and in-process load balancing ?
798、 What’s the difference between static inner classes and inner classes
799、 Differences between static variables and instance variables ?
800、 The difference between object-oriented and process oriented
801、 What are the features of object-oriented ?
802、 Interview questions and answers
803、 How to deal with the inconsistency between the page code and the requested resource code ?
804、 How to do page refactoring ?
ps:
java Interview treasure 2019 Series complete with answers
1、java Data preparation for Software Engineer Interview ( I’ll give you a Book of exorcism sword )
2、《java Interview treasure 》 And hibernate Frequently asked questions
3、《java Interview treasure 》 And javascript Frequently asked questions
4、《java Interview treasure 》 And java Basic common interview questions
5、《java Interview treasure 》 And java Multithreaded interview questions
6、《java Interview treasure 》 And java common IO Interview questions
7、《java Interview treasure 》 And java Design pattern interview questions
8、《java Interview treasure 》 And java Object oriented interview questions
9、《java Interview treasure 》 And JSP Frequently asked questions
10、《java Interview treasure 》 And servlet Frequently asked questions
11、《java Interview treasure 》 And spring Frequently asked questions
12、《java Interview treasure 》 And SQL Frequently asked questions
13、《java Interview treasure 》 And UML Frequently asked questions
14、《java Interview treasure 》 Common interview questions for business