Home Technical Articles Java JavaInterview questions
Zhang Yiming: After interviewing 2,000 people in 10 years, I found that people who do well all have the same characteristics

Zhang Yiming: After interviewing 2,000 people in 10 years, I found that people who do well all have the same characteristics

Hello everyone! You are all very young and I was quite stressed when I came here today. Because it has been almost 11 years since I graduated. When I see you, I really feel that "the waves behind you in the Yangtze River push the waves ahead."

Jul 26, 2023 pm 04:09 PM
面试题 面试
Interviewer: How much do you know about high concurrency? Me: emmm...

Interviewer: How much do you know about high concurrency? Me: emmm...

High concurrency is an experience that almost every programmer wants to have. The reason is simple: as traffic increases, various technical problems will be encountered, such as interface response timeout, increased CPU load, frequent GC, deadlock, large data storage, etc. These problems can promote our Continuous improvement in technical depth.

Jul 26, 2023 pm 04:07 PM
面试题
Don't step on these four pitfalls again before looking for a job.

Don't step on these four pitfalls again before looking for a job.

When choosing a company, you should be as careful as choosing a target. It has good development and stable work, and the income is high. Isn't this kind of job great? It would be better if you don't just jump from one job to another!

Jul 26, 2023 pm 03:22 PM
面试
A question asked in almost all Java interviews: talk about the difference between ArrayList and LinkedList

A question asked in almost all Java interviews: talk about the difference between ArrayList and LinkedList

The data structure of Java is the focus of the interview. Anyone who has participated in a Java interview must have some experience. When interviewers ask such questions, they often want to check whether you have studied the underlying structures of commonly used data types in Java, rather than simply staying at the level of "knowing how to use".

Jul 26, 2023 pm 03:11 PM
java java面试题
The interviewer asks you: Do you know what an ABA problem is?

The interviewer asks you: Do you know what an ABA problem is?

This issue is about the analysis of a classic ABA problem in the CAS field. I don’t know if you have encountered it in actual work, but this is the focus of the concurrency knowledge test in the interview. If you haven't come across this kind of problem, my suggestion is to run the above code yourself.

Jul 26, 2023 pm 03:09 PM
cas
Real interview question: Please talk about the CAS mechanism in concurrency

Real interview question: Please talk about the CAS mechanism in concurrency

In the program, I created 100 threads, and each thread accumulated 10,000 operations on the shared variable inc. If it is executed synchronously, the final value of inc should be 1,000,000, but we know that in multi-threading, the program is concurrent executed, that is to say, different threads may read the same value from the main memory at the same time.

Jul 26, 2023 pm 03:05 PM
cas
[Interview] How to ensure 100% successful delivery of messages? How to ensure message idempotence?

[Interview] How to ensure 100% successful delivery of messages? How to ensure message idempotence?

Our friends should all have heard enough about the message middleware MQ, such as: RabbitMQ, RocketMQ, Kafka, etc. The benefits of introducing middleware can play a role in resisting high concurrency, peaking, and business decoupling.

Jul 26, 2023 pm 02:58 PM
面试
[Hematemesis compilation] 2023 Java basic high-frequency interview questions and answers (Collection)

[Hematemesis compilation] 2023 Java basic high-frequency interview questions and answers (Collection)

This article summarizes some selected Java basic high-frequency interview questions in 2023 that are worth collecting (with answers). It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

Jul 08, 2022 am 11:00 AM
java面试题
Can you answer these tough Java interview questions?

Can you answer these tough Java interview questions?

This article has compiled some foreign Java interview questions for everyone. I heard that it also stumped many people. Let’s take a look at these interview questions and see what makes them interesting.

Mar 15, 2021 am 09:21 AM
java 面试题
Interviewer: Please explain in detail the role of the final keyword and its difference from static

Interviewer: Please explain in detail the role of the final keyword and its difference from static

Java interview questions and answers: Sure enough, in the last interview, the interviewer asked this question again: Could you please tell me the specific meaning of the final keyword, and explain its role in detail and its difference from static. In order to make everyone who is interviewing pay attention to this question, the answers are specially compiled for your reference.

Mar 08, 2021 am 10:27 AM
面试 final 关键字 static
Interviewer: Could you please tell me the differences between sleep(), wait(), join() and yield()

Interviewer: Could you please tell me the differences between sleep(), wait(), join() and yield()

All threads that need to compete for synchronization locks will be placed in the lock pool. For example, if the current object's lock has been obtained by one of the threads, other threads need to wait in this lock pool. When the previous thread releases the synchronization lock, the threads in the lock pool will compete. Synchronization lock, when a thread obtains it, it will enter the ready queue to wait for CPU resource allocation.

Mar 01, 2021 am 10:18 AM
面试 sleep、wait、join、yield
Introduce the composition of java objects

Introduce the composition of java objects

In the HotSpot virtual machine, it is our common virtual machine. The object composition is divided into three areas: object header, instance data, and alignment padding.

Feb 19, 2021 am 10:56 AM
java 对象
10 Frequently Asked Java Interview Questions

10 Frequently Asked Java Interview Questions

Java interview questions and answers: This article has collected and compiled 10 questions that are often encountered in Java interviews. I hope it will be helpful to you.

Feb 04, 2021 am 10:20 AM
Java 面试
Talk about your understanding of deep cloning and shallow cloning in java

Talk about your understanding of deep cloning and shallow cloning in java

Shallow clone: ​​Create a new object. The properties of the new object are exactly the same as the original object. For non-basic type properties, they still point to the memory address of the object pointed to by the original properties. Deep cloning: Create a new object, and other objects referenced in the attributes will also be cloned and no longer point to the original object address.

Jan 30, 2021 am 09:53 AM
java 深克隆 浅克隆

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use