Question about Java Interview

This time we talk about those things first test Java technology.

Because I was one of the first test Java official sector faces a lot of people, so still some say.

Different interviewer, interview requirements are not the same, for example: some require the expression of good will to communicate; some require good technique, can get started straight line and the code, engage in projects; some require people at ease, with little area, can work on the line; some requirements. . . "This requires pretty much, I feel really quite hard technical interview (grin)."

The interview process is a basic question and answer format, in my interview, for example, will not be lightly asked, questions are organized. Then you talk about some of the problems I often mention, as well as some of the ideas behind the issues now (if it is accidentally browsing Cipian soy sauce, as it would take the opportunity to buy a dish it).

1. Preheat section

Q: please introduce yourself?

A: up to ask such a question, the resume has also asked what, do not head Watt matter? In fact, at the moment, the main candidates to calm the mood, silently implied interview candidates officially began Rights (grin); ① take a look at the candidates will forever say the endless "time the ability to control"; ② candidates will look incoherent "is not ready or not there is a lack of skills."

 

Q: Please for the project did do some good detail?

A: ye ask such a question, it is not behind the bloodshed. Mainly through the introduction candidate projects around the function module is responsible for implementing the introduction of follow-up interview questions. If a candidate did not say good, probably not a good follow-up questions to guide you, voice and control over the candidates can reflect it in here.

 

Q: Please do for technology used in the project about the introduction?

A: Whenever project done in person, be sure not to cold field (grin). Mainly on the candidates, the technology stack of previous projects. If recruitment jobs more urgent, the entry will get started to work, matching technology stack, it will be slightly important.

2. The frame part

Q: brief Spring? SpringMVC brief workflow?

A: The main candidates answered combination of technology used in the project is carried out, a move that only chestnuts unfold. Mainly on the candidates: ① the possibility of introducing user-friendly way, explain what IOC and AOP; ② whether the combination of the actual project launched forth; ③ principles and their underlying implementation. Be able to answer the principle and simulation coding yourself too IOC, AOP will be a little extra points.

 

Q: a brief introduction and use precautions MyBatis MyBatis of?

A: degree of use mainly on the candidates for ORM framework. SQL injection prevention can answer a little extra points.

3. Storage section

Q: Redis commonly used data structures what? Redis in setnx and set what difference? Integrated Project talk about Redis application scenarios?

A: mainly on the extent of use of the candidate Redis, and Redis master depth. Setnx can answer the underlying implementation is slightly points.

 

Q: Simple talk about database indexing? "Databases only as a chestnut."

A: mainly on the candidates understand the extent of classification of database indexes, as well as the underlying implementation of the "strengths and weaknesses can answer a little bonus."

4. The base portion

Q: talk about Object methods commonly used? "Cliché"

A: This is a very common, basic knowledge of the problem. For Java programmers have come into contact with, and should not be difficult, at least, can say like four or five methods. Mainly on the candidates for the equals, hashCode of awareness and understanding of the extent of wait, notify purposes. Leads to the next set of multi-threading issues.

 

Q: talk about a collection of Java, and a brief Set how to ensure the added element is not repeated? "A collection of terms, only as a chestnut."

A: mainly on the candidates overall understanding of the extent and mechanism of expansion of the collection. And to undertake the issue of equals, hashCode application scenario "is not dismal (laughing cry)."

 

Q: talk about the way to create a thread, a simple chat with the essential difference between sleep and wait? "Threading, only as a chestnut."

A: When interviewing threading of knowledge, basically they will ask questions. Mainly on the candidate's mastery of skilled thread. And to undertake scenarios wait of the last problems.

 

Q: talk about IO streams Java, and design patterns?

A: application mainly on the candidates for IO stream design patterns. If a candidate really could not answer, it will boot Tips.

5. chat portion

Q: How can a distributed environment to ensure that tasks are performed only once?

A: Candidates will be combined project done by changing the pattern to a question, is not very chicken thief. When mainly on the candidates face a problem, how to analyze a problem, there are no ideas to solve the problem.

 

Q: How to solve the problem of storing large amount of data?

A: look at the main candidates have no experience of past projects, there is no relevant Solutions. 

These are some of my thoughts as a technical interviewer, some of the problems often talk to, and behind the problem. There are many, we can not list them here.

Technical interview eyes of the beholder wise see wisdom, not a single standard, fully prepared before the interview programmers, only emboldened the hearts, in order to show the best state, find a seat yours. It also recommended that the interviewer who try to be patient, with a good rhythm, even in front of one or two questions are not answered well, do not early conclusion, in case you missed a Maxima it?

Finally, now the environment is not good, the employment situation also affected, quit must be cautious. I hope this article can help you a successful interview, I wish the junior partner after the interview goes well, you can find more money to live close to home work.


About Me: program more than 15 years old ape, a hundred technical team managers, game venture did not make any money, foreign True four ape writing phobia patients. Previously not very good at writing, recently decided against weaknesses and difficulties, share experiences and dry goods through writing. Follow me on micro-channel public number (four ape outside) and see more articles.

 

Released three original articles · won praise 0 · Views 165

Guess you like

Origin blog.csdn.net/siyuanwai/article/details/103894797