Interview skills 4: interview skills

Source: Internet
Author: User

Interview skills 4: interview skills

1. How to Select ArrayList and rule list?

Many people think that the ArrayList does not support adding or deleting elements flexibly as the linked list. However, they both provide the following methods to flexibly add elements:

public void add(int index, E element)

In addition, the offer method can be used to add elements before and after the lifecycle list.

public boolean offerFirst(E e)public boolean offerLast(E e)

If you delete an element from the end, the explain list is a good choice, because the following method is unique to it.

public E removeLast()//Retrieves and removes the last element of this list, or returns null if this list is empty. public E pollLast()
2. Why do I need to rewrite the hashcode METHOD IN THE equals method of the class at the same time?

Ensure that two equivalent objects get the same hashcode

3. Functions of SerialVersionUID

Judge the SerialVersionUID of the class to verify version consistency at runtime

4. What is the difference between java check and uncheck exceptions?

Check exception is a subclass of exception. This type of exception must be handled by try-catch. Otherwise, it cannot be compiled. uncheck exception is a subclass of runtime exception, which can not be captured, directly throws out to allow external processing.

5. Brief Introduction to jvm's garbage collection mechanism

1) Mark clearing: traverses the object graph to mark reachable objects, then scans the stack, discovers unlabeled objects, and releases memory;

2) generation division recovery: divides the memory area into the new generation and old generation, and uses the replication algorithm to scan the surviving objects and copy them to the new unused space, the pointer is stored in the location of the last allocation object. When the new generation is full, it is all transferred to the old generation, cleared the new generation area, and loaded until the memory overflows.

6. jvm Memory Model

1) method zone: class information, constants, and static variables loaded by virtual machines. All threads share the memory zone.

2) Virtual Machine Stack: A stack frame will be created during method execution to store information about local variable tables, including method parameters, Operation stacks, and method exits.

3) Local method Stack: Serving Native Methods

4) Heap: shared by all threads and all new objects are stored.

5) program counter: select the next bytecode instruction to be executed. Branch, loop, and exception handling are all required.

7. How to understand the OSS Principle

A software entity, such as classes, modules, and functions, should be developed for extension and disabled for modification.

8. Simple Introduction to JS event bubbling

Event bubbling means that child-level elements are triggered first, and parent-level elements are triggered later. Event capture is the opposite. The W3C standard supports two methods at the same time. When an event occurs, the event starts from the top-level element to capture the source element of the event, and then bubbles up from the event source. You can use addEventListener () to listen to elements. The last parameter is true, which is event capture.

9. introduce how to use log4j to configure logs

10. How to configure database transactions based on spring

11. Introduce the database connection pool Configuration

12. Can an abstract class be defined as a bean in spring?






Interview skills?

Interview skills-answers to typical interview questions

During the interview, the interviewer will ask the applicant, and the applicant's answer will become an important basis for the interviewer to consider whether to accept him. It is vital for candidates to understand the "tricky" behind these issues. This article sorts out some typical questions that often occur during interviews, and provides corresponding answers and reference answers. Readers do not need to pay too much attention to the details of the analysis. The key is to "understand" the interview rules and the way of thinking to answer questions from these analyses to achieve "active learning and practical use ".

Question 1: "Please introduce yourself"

Idea: 1. This is a required question for the interview. 2. The content should be consistent with your resume. 3. colloquial expressions as much as possible. 4. Do not talk about irrelevant or useless content. 5. The Organization should be clear and the layers should be clear. 6. It is best to write your skills in the form of text in advance.

Question 2: "talk about your family situation"

Train of Thought: 1. The situation plays a certain role in understanding the character, concept, and mentality of the candidate. This is the main reason why the Recruitment Unit asks this question. 2. Simple listing of the family population. 3. emphasize a warm and harmonious family atmosphere. 4. Emphasize parents' importance on their own education. 5. Emphasize the good condition of family members. 6. Emphasize the support of family members for their work. 7. Emphasize your sense of responsibility to the family.

Question 3: "What hobbies do you have ?"

Ideas: 1. Hobbies can reflect the personality, concept, and mentality of candidates to a certain extent, which is the main reason why recruitment companies ask this question. 2. It is best not to say that you do not have any hobbies. 3. Do not say that you have vulgar and unpleasant hobbies. 4. It is best not to say that you are limited to reading, listening to music, or surfing the Internet. Otherwise, the interviewer may doubt that the candidate is unsociable. 5. It is best to have some outdoor hobbies to "Embellish" your image.

Question 4: "Who do you worship most ?"

Ideas: 1. The most admired person can reflect the personality, concept, and mentality of the candidate to a certain extent, which is the main reason for the interviewer to ask this question. 2. It is not advisable to say that no one worships. 3. Do not worship yourself. 4. It is not advisable to worship an illusory or unknown person. 5. It is not advisable to worship a person with a clear negative image. 6. It is best for everyone to "build" relationships with the job they apply. 7. It is best to express the qualities and thoughts of the people you worship infect yourself and inspire yourself.

Question 5: "What is your motto ?"

Ideas: 1. the motto reflects the personality, concept, and mentality of the applicant to a certain extent. This is the main reason for the interviewer to ask this question. 2. It is not advisable to say the motto of medical practitioners that cause bad associations. 3. It is not advisable to say those motto that are too abstract. 4. It is not advisable to say a long motto. 5. The motto is best to reflect your own excellent qualities. 6. refer to the answer-"finding a method for success rather than making excuses for failure"

Question 6: "talk about your shortcomings"

Idea: 1. It is not advisable to say that you have no disadvantages. 2. We should not describe the obvious advantages as disadvantages. 3. It is inappropriate to state the shortcomings that seriously affect the job you apply. 4. It is not advisable to express the unpleasant and uncomfortable shortcomings. 5. I can tell you some shortcomings that are "irrelevant" to the job I have applied for, or even some shortcomings on the surface. From the perspective of work, they are advantages and disadvantages.

Question 7: "talk about your failure experience"

Idea: 1. I should not say that I have no failure experience. 2. We should not describe the obvious successes as failures. 3. It is inappropriate to state the failure experience that seriously affects the job to be applied for. 4. The result of the experience should be a failure. 5. It should be noted that you had confidence and tried your best before the failure. 6. It indicates that the failure is only caused by external objective reasons. 7. After the failure, I quickly cheered up and faced my future work with greater enthusiasm.

Question 8: "Why do you choose our company ?"

Ideas: 1. The interviewer tries to understand your motivation, desire, and attitude towards the job. 2. We recommend that you answer this question from the perspectives of industry, enterprise, and position. 3. refer to the answer: "I am very optimistic about the industry in which your company is located. I think your company attaches great importance to talents and this job is very suitable for me. I believe that you will be able to do well ."

Question 9: "What are the foreseeable difficulties for this job ?"

... The remaining full text>

Tips required during the interview

The interview is a kind of well-designed by the organizer. In a specific scenario, the examiner's face-to-face conversation and observation of the candidates are the main means, it is a type of test activity that tests the examinee's knowledge, ability, experience, and other related qualities.

Self-introduction skills
When a candidate is in a foreign company or another employer, the first question a job seeker is "Introduce Yourself First ". This seems simple, but job seekers must be cautious about it. It is a good opportunity for you to highlight your strengths and expertise and present your overall quality. A good answer will give people a good first impression.
To answer these questions, you must master the following principles:
1: easy to understand. It should not exceed three minutes.
2: seeking truth from facts cannot be overwhelmed.
3: highlight strengths, but do not hide weaknesses.
4: The outstanding strengths should be related to the position applied.
5: Be good at proving yourself with concrete and vivid examples, and explain the problem. Don't talk about it in general.
6: After that, ask the examiner what else he wants to know about himself.
Prepare for the interview to make the presentation smoother. In addition, the time required for self-introduction varies depending on the preference of the subject. Therefore, the best practice is to prepare an introduction for one minute, three minutes, or five minutes so that you can adjust it at any time during the interview. One-minute presentations mainly focus on the basic information, including name, education, Major, and family status. Note that the presentations are clear, work motivation and main advantages and disadvantages can also be added; five-minute introduction, You can also talk about your outlook on life, talk about interesting things in life, and illustrate your advantages.
Self-introduction Fan Wen
I feel very honored to be here for an interview and have the opportunity to ask and learn from them. I hope that I can present myself to you through this interview. I hope you can remember me. My personality is cheerful and easygoing. You can get along with your friends and family and have full confidence in your life. I used to practice in procuratorates, so I have some practical experience. During my four years of study abroad, I developed a strong character, which allowed me to overcome some difficulties in my study and life, it has been my strong wish to become a legal practitioner for many years. If I have the opportunity to be hired, I think I will be able to exercise at work and realize my own value. At the same time, I also realize that, the relationship between people and work is based on self-cognition. I think I have the ability and confidence to do this job well. A civil servant is a sacred and noble profession. It pursues the maximization of public interests. Its fundamental purpose is to serve the people and the country. Lei Feng said: human life is limited, while serving the people is infinite. I want to devote my limited life to serving the people infinitely, this is also my best explanation of Civil Servant recognition. Therefore, this job can realize my social ideals and values in life. I hope everyone can recognize me and give me this opportunity!

Difficult question answering skills
For college students who do not have any job-seeking experience, they may be overwhelmed by questions from the interviewer. Panic, tongue numb, hands trembling, fog in the cloud, I do not know what to say. But in fact, the interviewer's questions are not so terrible. Let's take a look at the interviewer's general questioning methods, so that we can know ourselves, know ourselves, and know ourselves. 1. Closed Questions
For example, are you willing to be an engineer or a market developer?
Analysis: the answer to a question is deterministic and unique. The answer to the question must be answered in a non-deterministic manner. TIPS: the answers to these questions are concise and clear. Generally, they do not need to be supplemented or modified.
2. Open Question
For example, what are your characteristics? Are you good at getting along with others?
Analysis: The question is launch and flexible, and the examinee can make a more free choice and answer according to their actual situation. TIPS: Be careful! This type of problem is critical. A good answer is directly related to the recruitment or not. You can prepare these items in advance. At the same time, a good answer to such questions is an excellent way to express yourself and promote your own opportunities, which can make the interviewer look at each other and love your talents.
3. hypothetical questions
For example, if you are asked to be the general manager of our company, first you will do... the remaining full text>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.