Double non-undergraduate, two years of Java development experience to get Ali, byte offer, with gold nine silver ten BAT interview core knowledge points and learning route

Preface

I myself have worked in my old club for more than two years after graduating from my undergraduate degree. My old club is considered to be a “small company” (after all, I don’t have a BAT or TMD title this year, so I’m embarrassed to report my birth). I have been in Dachang, so when I was looking for a hole, it was very, very imaginary. Being flustered, I thought about it for a while to cheer myself up. The process of finding pits and preparing for the interview was roughly divided into these stages:

Interview preparation

  • Reflection: Do you really want to resign? If you do not resign, what should you do next in your old club to continue to improve?
  • Positioning: What are my strengths in hard skills (coding, architecture)? What are my strengths in soft skills (communication, team)? I wrote a resume at this step
  • Looking for platforms: Which platforms can meet at the same time: 1. There are challenges and room for improvement; 2. It is in line with my positioning direction; 3. The team atmosphere is as good as the old club
  • Looking for people to push: basically find on v2

When you really decide to quit for an interview, you have to make a small summary of your own knowledge, find out your technical shortcomings to make up for it, and sort out your own learning route will do more with less. Here is my own review. route.

JVM learning route

Just one JVM can sort out so many knowledge points, so you can see how important it is to summarize your review route. Here is just a part of my summary. The entire route includes source code framework, concurrency topics, JVM performance tuning, mysql, distributed, microservices, etc. I have summarized the review route for each small step, and this review route is needed: three consecutive this article, and then private message [java] in the background or get it directly below!

The following is my own review document based on the review roadmap above. The content of the document includes: data structure and algorithm, JVM memory structure, garbage collector, recycling algorithm, GC, concurrent programming related (multithreading, thread pool, etc.), NIO /BIO, performance optimization, design patterns, Spring framework: Distributed related: Redis cache, consistent Hash algorithm, distributed storage, load balancing, etc., microservices and Docker containers, etc. The method of obtaining is at the end of the article

The following is part of the content and interview questions display

JVM

  • Will there be a memory leak in java? Please describe briefly.
  • In 64-bit JVM, the length of int is the majority?
  • What is the difference between Serial and Parallel GC?
  • In 32-bit and 64-bit JVM, the length of int type variable is the majority?
  • What is the difference between WeakReference and SoftReference in Java?
  • What does the JVM option -XX:+UseCompressedOops do? Why use
  • How to judge whether the JVM is 32-bit or 64-bit through a Java program?
  • What is the maximum heap memory of 32-bit JVM and 64-bit JVM?
  • What is the difference between JRE, JDK, JVM and JIT?
  • Explain Java heap space and GC?

 

Redis

  • What is Redis?
  • How is Redis different from other key-value stores?
  • Redis data type?
  • What are the benefits of using Redis?
  • What are the advantages of Redis over Memcached?
  • What are the differences between Memcache and Redis?
  • Is Redis single-process single-threaded?
  • What is the maximum capacity that a string value can store?
  • Redis persistence mechanism

 

Kafka

  • Please explain what is Apache Kafka?
  • Please explain what is the traditional messaging method?
  • Please explain what advantages Kafka has over traditional technologies?
  • What is the meaning of broker in Kafka?
  • What is the maximum information that the Kafka server can receive?
  • Explain how Kafka users consume information?
  • Explain how to improve the throughput of remote users?
  • Explain how to reduce disturbances in ISR? When does the broker leave ISR?

 

Spring Cloud

  • What is Spring Cloud?
  • What are the advantages of using Spring Cloud?
  • What does service registration and discovery mean? How to achieve Spring Cloud?
  • What is the significance of load balancing?
  • What is the significance of load balancing?
  • What is a Hystrix circuit breaker? Do we need it?
  • What is Netflix Feign? What are its advantages?
  • What is Spring Cloud Bus? Do we need it?

 

Especially for Spring Cloud, interviews are almost necessary. SpringCloud is a one-stop solution under the distributed microservice architecture. It is a collection of various microservice architecture landing technologies, commonly known as the microservice family bucket.

MyBatis

  • What is Mybatis?
  • Advantages of Mybaits
  • Disadvantages of MyBatis framework
  • MyBatis framework applicable occasions
  • What is the difference between MyBatis and Hibernate?
  • What should I do when the attribute name in the entity class is different from the field name in the table?
  • How to write a fuzzy query like statement?

 

Java reflection

  • In addition to using new to create objects, what other methods can be used to create objects?
  • Is it efficient to create objects through Java reflection or to create objects through new?
  • The role of java reflection
  • Where will the reflection mechanism be used?
  • How reflection is achieved
  • Classes that implement Java reflection
  • Advantages and disadvantages of reflection mechanism
  • There are several ways to obtain a Class object

 

Interview summary

Some experience:

  • You need to prepare well for the items written in your resume, as well as the fields and middleware whose proficiency is above "mastery". When the interviewer asks you a partial question, he actually doesn't hope you can answer it. And when the interviewer asks the questions on your resume, if you can’t answer it, the interviewer thinks that this person is either too low-sighted, feels that he has mastered it when he knows a little bit, or the resume is fraudulent. Both are very disadvantageous;
  • On the basis of the previous one, you can prepare a most proud project and guide the interviewer to this section on the resume and during the interview;
  • Before the interview, you can prepare a methodology: clarify the characteristics of the kind of people the interviewer wants to recruit, and strive to show these characteristics during the interview. This sounds like a correct nonsense, but there are too many uncontrollable factors in the interview process. Having a clear goal in your mind can help you think of what to say when you are at a loss. For example, when the interviewer asked me any questions in a round, I would ask what technical challenges your company will face (of course, you must first make it clear that this is not questioning their lack of challenge, but their desire to challenge);

At last

Attention, friends who have the full version of the interview questions + review roadmap that need to be shared above in the article: scan the following to get it for free!

Guess you like

Origin blog.csdn.net/m0_46757769/article/details/109228742