The first interview, make a little grand, clothes are patchwork. Retain the domineering jacket, Brocade Peng's sweater, their own plaid shirts, AirAsia business package. Unfortunately, the result is not unexpected, really miserable ...
Into the chain Home real Estate Hall, feel very warm, provide WiFi and mobile phone charging. The front desk was very polite and asked me for a resume, let me sit down a moment. More than 10 minutes later, suddenly a person came to sit down, the interviewer is a little older than me, it is expected to enter the job for a year or two. Originally carefully prepared self-introduction, the results are useless, come up and ask me, "You are xxx it?" "Yes", "Ming word is not read wrong, what is the meaning of this word?" "Salary's pension, I don't know what it means." This is the opening, I think, is not the beginning of the interview, or to ask? Forget it, he asks what, I answer what!
Let's start with the interview topic. He started scanning my resume, asked me about the recommended algorithm I had done, and I started to pull it off. The recommended algorithm involves multi-threading, so the question "How do you use multithreading?" "," How to control multi-threaded read and write files, how to control the repetition read and write "," explain the join operation ", the problem was not a bit of impression at the time, and now think about the interview did read before. Understand that will not, change the problem. "Did you do spring, explain spring mvc," "How to use Spiring," "IOC How to use" "What is the SPRINGMVC principle?" "What does Spring have to do with hibernate?" Understand that I will only use, the principle is not very understand, the problem is over. The question "You know how the JVM, how memory is managed," explains the JVM garbage collection, the two questions answered by the interviewer is quite satisfactory. Change the problem again, "You know the singleton mode bar, with Java implementation of it", this is the most tangled, began to write the class name using lowercase, class lost, the Static keyword lost, new when the direct return, "You write code how to use", think of a good big time, Single.getinstance (). "Static methods can be used", followed by a series of static problems, let me understand that my code is not running through. Looking at my code level seems to be not very satisfactory, it should be let him down. Change the question, "What is the difference between session and Cokkie" "session How to use, front desk or backstage use?" "The question should be kneeling, too."
Change the question, "What is Spark?" "The interviewer does not know or have much interest in continuing to dig deep down." Next, "What sort do you know?" ", I casually put a few names to him out, so, you realize the fast line in the paper, I asked what the request, he said the list of storage int, then I began to write code, just finished writing the function, he began to ask me," list as a parameter is the value of the pass or reference pass ", this problem is kneeling. "Explain the HashMap principle?" "I answer the list directly, sad and the answer is wrong, is actually an array." And then the quick platoon didn't let go of the writing.
Finally began to look at my resume on the completion of the content, looked very tall, "you know what search engine aspects?" "" Offline compression processing search terms, you give an example? "In fact, I found that the contents of the completion of the content I was not very clear, to him also said not clear
Finally, the interviewer, give me advice, "All are experienced, you have to fill the Java Foundation!" “
In short, the handwriting code must pass, the Java Foundation should answer not how, there is a wrong answer, there is no then.
Link House Real Estate-java engineer interview