Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the relevant interview questions in web development?

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the relevant knowledge of the relevant interview questions in the development of web, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value. I believe that you will gain something after reading the relevant interview questions in the development of web. Let's take a look.

One java basic interview

1. What are the characteristics of object-oriented?

2. Access the modifier public,private,protected, and the difference when not writing (default)?

3. Is String the most basic data type?

4. Float fame 3.4; is it correct?

5. Short S1 = 1; S1 = S1 + 1; is there a mistake? short S1 = 1; S1 + = 1; is there a mistake?

6. Does Java have goto?

7. What's the difference between int and Integer

8. The difference between & and &?

9. Explain the use of stack (stack), heap (heap) and static storage in memory

How much is Math.round (11.5)? How much is Math.round (- 11.5)?

Many classic topics are no longer exemplified.

Second, java concurrent interview

1. Wait () and notify () method juli of Object

2. Concurrency characteristics-atomicity, ordering, visibility

3. The principle of synchronized implementation?

4. The implementation principle of volatile?

5. Java memory model (JMM)

6. About queue AQS queue Synchronizer

7. Characteristics of the lock

8. ReentrantLock lock

9 、 ReentrantReadWriteLock

10. The difference between Synchronized and Lock

11. The way of thread synchronization in Java

12. What kind of synchronization mechanism is CAS? Why use AtomicInteger instead of int in multithreading?

13. Is HashMap thread safe? How to reflect it? How to be safe?

14. How to implement ConcurrentHashMap?

15. What's the difference between CountDownLatch and CyclicBarrier? Concurrent tool class

16. How to control threads to minimize context switching?

17. What are optimistic locks and pessimistic locks?

18. Blocking queue

19. Thread pool

20. Why use thread pools?

21. Producers and consumers

Three mybatis interviews

1. What's the difference between # {} and ${}?

2. In addition to the common select | insert | updae | delete tags in the Xml mapping file, what tags are there?

3. In best practice, usually a Xml mapping file will write a Dao interface corresponding to it. Excuse me, how does this Dao interface work? Can the methods in Dao interface be overloaded when the parameters are different?

4. How is Mybatis paginated? What is the principle of the paging plug-in?

5. Briefly describe the plug-in operation principle of Mybatis, and how to write a plug-in.

6. Mybatis performs batch insert, can you return the list of database primary keys?

7. What does Mybatis dynamic sql do? What are the dynamic sql? Can you briefly describe the implementation principle of dynamic sql?

8. How does Mybatis encapsulate the sql execution result as a target object and return it? What are the forms of mapping?

9. Can Mybatis execute one-to-one or one-to-many association queries? What are the implementations and the differences between them.

10. Does Mybatis support delayed loading? If so, what is the principle of its implementation?

11. In Mybatis's Xml mapping file, can id be duplicated for different Xml mapping files?

12. How to execute batch processing in Mybatis?

13. What Executor actuators does Mybatis have? What's the difference between them?

14. How do I specify which Executor actuator to use in Mybatis?

15. Can Mybatis map Enum enumerated classes?

16. In the Mybatis mapping file, if the A tag refers to the content of the B tag through include, can the B tag be defined after the A tag, or must it be defined in front of the A tag?

17. Briefly describe the mapping relationship between Mybatis's Xml mapping file and Mybatis internal data structure.

Why is Mybatis a semi-automatic ORM mapping tool? What's the difference between it and full automation?

Four MYSQL interviews

What is an index?

What kind of data structure is an index?

What is the difference or pros and cons between Hash indexes and B+ trees?

The B+ tree does not need to go back to the table to query the data when it satisfies the clustered index and the overlay index. What is a clustered index?

Does a non-clustered index necessarily return a table query?

What are the factors that need to be considered when establishing an index?

What is the federated index? Why do you need to pay attention to the order in the federated index

Has the created index been used? Or how to know why this statement runs so slowly.

So what are the circumstances in which an index is created for that column but is not used when querying?

What is a transaction?

What is ACID? Can you elaborate on that?

What if there are multiple transactions going on at the same time?

How to solve these problems? do you know the transaction isolation level of MySQL?

Which isolation level is used by Innodb?

Do you know anything about MySQL's lock?

What locks does MySQL have? Doesn't locking like the above hinder concurrency efficiency a little bit?

Which storage engines are supported by MySQL

.

5 tomcat interview

What is Tomcat?

What is the default port of Tomcat and how to modify it

What are the Connector operation modes (optimization) of tomcat?

How many ways can Tomcat be deployed?

How does the tomcat container create an instance of the servlet class? What principle is used?

Tomcat working mode

Tomcat top-level architecture

Summary of Tomcat top-level architecture

The delicate relationship between Connector and Container

Container architecture analysis

How does Container handle requests

.

Six zookeeper interview

What is ZooKeeper?

What does ZooKeeper offer?

Zookeeper file system

Four types of znode

Zookeeper notification mechanism

What did Zookeeper do?

Naming service (file system) for zk

Configuration management of zk (file system, notification mechanism)

Zookeeper cluster management (file system, notification mechanism)

Zookeeper distributed locks (file system, notification mechanism)

.

Seven spring interview

What is spring bean?

What configuration methods does spring provide?

What is the life cycle of the spring bean container?

What is the internal bean of spring

What is spring Assembly

What are the ways of automatic assembly

What are the limitations of automatic assembly

Which ORM frameworks are supported by spring

. What is AOP?

What's the difference between Spring AOP and AspectJ AOP?

What is dependency injection?

This is the end of the article on "what are the relevant interview questions in web development?" Thank you for reading! I believe you all have a certain understanding of the knowledge of "what are the relevant interview questions in web development?" if you want to learn more knowledge, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report