2018 the latest JAVA interview Knowledge Point Outline finishing __java

Source: Internet
Author: User
Tags aop cas redis zookeeper mysql index redis cluster

Job-hopping is happening all the time, but I suggest that you want to know why you want to change jobs before you jump. Must not follow the trend, see colleagues have gone, they also blindly interview up (during the period is not fully prepared), in the end is because of technical reasons (affect their own development, offset the trajectory of their plans), or money to less, not to be taken seriously.

Preparing for an inadequate interview is a total waste of time and is not responsible for your own (if the title is high, when I did not say).

Today to share the next chenssy in this job-hopping in the Java interview outline, most of which are interview process in the face of the test, you can check the leak fill, of course, the list here certainly cannot cover all the way. Project Introduction

In most cases, this is an interview opening question, the interviewer asked this question, mainly to investigate your overview of the ability and global vision. Some people often complain that they are piling up business every day, but not growing up. In fact, many of the cases are actually in the heap of business, but not without growth. is not to do middleware or technical framework is the growth, such as our needs analysis, communication and collaboration, product thinking, abstract modeling capabilities are a very important hard strength.

OK, now go to the text.

1, clear project is what to do

2, clear the value of the project. (Why do this project, it solves the user what pain point, it brings what value.) )

3, clear the function of the project. (What features are involved in this project?) )

4, clear the project technology. (What technologies are used in this project?) )

5, identify the individual in the project position and role. (You assume the role in this project.) )

6, clear the overall structure of the project.

7, clear the pros and cons of the project, if you redesign how you will design.

8, clear the project highlights. (What's the highlight of the project?) )

9, clear technology growth. (What technology have you grown through this project?) ) Java Basics

1. The difference between List and Set

2, how to ensure the hashset is not repeated

3, HashMap is thread-safe, why is not thread-safe (best paint description of multi-threaded environment is not safe)?

4, the HASHMAP expansion process

5, HashMap 1.7 and 1.8 of the difference, the description of 1.8 did what optimization, how to optimize.

6. Final finally Finalize

7, strong reference, soft reference, weak reference, virtual reference

8, Java Reflection

9, Arrays.sort realization principle and Collection realization principle

10, the application of Linkedhashmap

11, Cloneable Interface Realization principle

12. Exception classification and processing mechanism

13. The difference between wait and sleep

14. How the array allocates Java concurrency in memory

1, the principle of synchronized and lock optimization.

2, the realization of the principle of volatile.

3, the Java signal lamp.

4, the synchronized in the static method and the common method difference.

5. How to implement all threads waiting for an event to occur before it is executed.

6, CAS. What is the defect of CAS, how to solve.

7, synchronized and lock what is the difference.

8, Hashtable is how to add locks.

9, HashMap concurrency problem.

10, Concurrenhashmap Introduction. Why do you use red and black trees in 1.8?

11, Aqs

12, how to detect deadlock. How to prevent the deadlock.

13, Java memory model.

14, how to ensure that the i++ results of multithreading is correct.

15, the type of thread pool, the difference and use of the scene.

16, the analysis of the principle of thread pool and the scheduling process of threads.

17, how the thread pool tuning, the maximum number of how to confirm.

18, threadlocal principle, use the time need to pay attention to what.

19, the use of Countdownlatch and Cyclicbarrier, and the difference between each other?

20. Locksupport Tools

21, condition interface and its realization principle

22, the understanding of the Fork/join framework

23, the principle of the section lock, the thought of reducing the lock strength

24, eight blocking queues and the characteristics of each blocking queue Spring

1, Beanfactory and Factorybean.

2, Spring IOC Understanding, its initialization process.

3, Beanfactory and ApplicationContext.

4, how the Spring Bean's lifecycle is managed.

5. What is the loading process for the Spring Bean?

6, if you want to implement spring AOP, how to achieve.

7. If you want to implement spring IOC, what issues will you pay attention to?

8, how Spring is the management of transactions, the transaction management mechanism.

9, Spring's different activities of the dissemination of what, what to use.

10. The design patterns are used in Spring.

11. The working principle of Spring MVC.

12. The principle of Spring cyclic injection.

13, Spring AOP Understanding, the terms, how they work with each other.

14, Spring How to ensure the security of Controller concurrency. Netty

1. BIO, NiO and AIO

2, Netty of the major components

3, Netty threading model

4, TCP Packaging/unpacking reasons and solutions

5, understand what kinds of serialization protocols. including how to use the scene and how to choose

6, Netty 0 copy implementation

7, Netty performance in what aspects of distributed correlation

1, the Dubbo principle and mechanism of the underlying implementation

2. Describe the detailed process of a service from publishing to being consumed

3, distributed system How to do service governance

4, the concept of the power of the interface

5, message-oriented middleware how to solve the problem of message loss

6, Dubbo Service request failure how to deal with

7, the heavy link mechanism will cause the mistake

8, the understanding of distributed transactions

9, how to achieve load balancing, which algorithms can be implemented.

10, the use of zookeeper, the principle of what is the election.

11, the vertical separation of data split.

12, zookeeper principle and applicable scene

13. Zookeeper Watch mechanism

14, REDIS/ZK node downtime how to deal with

15. How to achieve unique serial number under distributed cluster

16, how to do a distributed lock

17, use what MQ, how to use, and other MQ compare have what advantages and disadvantages, MQ connection is thread safe?

18, MQ system data How to ensure that no loss

19, enumerate the database that you can think of the sub-table strategy; How to solve the problem of whole table query after the sub-table

20. The election strategy of zookeeper

21, Global ID database

1, MySQL paging what is the optimization

2, pessimistic lock, optimistic lock

3, combined index, the left principle

4, MySQL table lock, row lock

5, MySQL performance optimization

6, MySQL index classification: b+,hash; What is the index of what?

7, transaction characteristics and Isolation level cache

1, Redis used what data data, and redis how to achieve the bottom

2, Redis cache penetration, Cache avalanche

3, how to use Redis to implement distributed locks

4. How to solve the problem of concurrent competition of Redis

5, Redis persistence of several ways, the advantages and disadvantages of what, how to achieve

6, Redis cache failure strategy

7, Redis cluster, high availability, principle

8, Redis Cache fragmentation

9, Redis Data elimination strategy JVM

1. Detailed JVM memory model

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.