What to ask in java interview
I believe that many students who are engaged in Java have experienced torture from interviewers, and sometimes even all kinds of weird questions! Today I will tell you about interview questions that are often asked in Java interviews.
The interviews all test the basics of Java. If you have good basics, it is easy to get into the company. Generally, the following questions will be asked:
1. The difference between String, StringBuffer and StringBudilder
2 .The difference between ArrayList, vector, etc.
3. The difference between hashMap and hashTable
4. Multi-threading implementation and methods
5. Regarding passing parameters, test the transfer Is it itself or a copy, such as a(String value); is the value parameter of the a method passed itself or a copy?
6. Other questions are the most basic and can basically be answered
There is knowledge about frameworks, such as spring dependency injection, interceptors if the transaction is more in-depth, etc.
If you take the test on other frameworks, the questions will basically be relatively basic, and if it is difficult, you will rarely be asked
In terms of db, simply test your sql. You may write several tables to check what makes you write sql. It mainly tests multi-table connection query, grouping, grouped query, sorting, maximum and minimum, etc. to see if you are proficient in sql. .
The above is the detailed content of What to ask in java interview. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



You must know Spring, so let’s talk about the order of all notifications of Aop. How does Spring Boot or Spring Boot 2 affect the execution order of aop? Tell us about the pitfalls you encountered in AOP?

OOM means that there is a vulnerability in the program, which may be caused by the code or JVM parameter configuration. This article talks to readers about how to troubleshoot when a Java process triggers OOM.

The extra chapter of the Java concurrent programming series, C A S (Compare and swap), is still in an easy-to-understand style with pictures and texts, allowing readers to have a crazy conversation with the interviewer.

Don’t underestimate the written examination questions of many companies. There are pitfalls and you can fall into them accidentally. When you encounter this kind of written test question about cycles, I suggest you think calmly and take it step by step.

Last week, a friend in the group went for an interview with Ping An Insurance. The result was a bit regretful, which is quite a pity, but I hope you don’t get discouraged. As you said, basically all the questions encountered in the interview can be solved by memorizing the interview questions. It’s solved, so please work hard!

This article will take a look at 5 interview questions about the Java String class. I have personally experienced several of these five questions during the interview process. This article will help you understand why the answers to these questions are like this.

This article has a total of more than 30,000 words, covering Linux overview, disk, directory, file, security, syntax level, practical combat, file management commands, document editing commands, disk management commands, network communication commands, system management commands, backup compression commands, etc. Dismantling Linux knowledge points.
