search
HomeTechnical articlesJavaJavaInterview questions
2020 New Java Interview Questions-Network

2020 New Java Interview Questions-Network

Forward and Redirect represent two request forwarding methods: direct forwarding and indirect forwarding. TCP is connection-oriented, and UDP is connectionless, that is, there is no need to establish a connection before sending data.

Jun 19, 2020 pm 05:22 PM
java面试题网络
2020 New Java Interview Questions-Exception

2020 New Java Interview Questions-Exception

Java interview questions: 1. What are the common exception classes? 2. In try-catch-finally, if the catch is returned, will finally be executed? 3. Which part of try-catch-finally can be omitted?

Jun 17, 2020 pm 05:12 PM
java面试题异常
What is the difference between springmvc and springboot?

What is the difference between springmvc and springboot?

The difference between springmvc and springboot is that springMVC is a pattern of Spring, a Web framework that provides a lightly coupled way to develop Web applications, while SpringBoot prefers habits over configuration, reducing the difficulty of project construction.

Jun 17, 2020 pm 03:24 PM
springmvcspringboot
2020 New Java Interview Questions - Java Web (2)

2020 New Java Interview Questions - Java Web (2)

Cookies and sessions are generally considered to be two independent things. The session uses a solution that maintains state on the server side, while the cookie uses a solution that maintains state on the client side.

Jun 16, 2020 pm 05:29 PM
java面试题java web
2020 New Java Interview Questions-Java Web (1)

2020 New Java Interview Questions-Java Web (1)

Java interview questions: 1. What is the difference between jsp and servlet? 2. What are the built-in objects in jsp and what are their functions? 3. Tell me about the four scopes of jsp; 4. What is the difference between session and cookie? 5. Tell me How session works.

Jun 15, 2020 pm 05:12 PM
java面试题java web
2020 New Java Interview Questions - Object Copy

2020 New Java Interview Questions - Object Copy

Methods to implement object cloning: 1. Implement the Cloneable interface and rewrite the clone() method in the Object class; 2. Implement the Serializable interface and implement cloning through object serialization and deserialization, which can achieve true deep cloning.

Jun 13, 2020 pm 05:04 PM
java面试题对象拷贝
2020 New Java Interview Questions-Reflection

2020 New Java Interview Questions-Reflection

The functions provided by the Java reflection mechanism are: 1. Determine the class to which any object belongs at run time; 2. Construct an object of any class at run time; 3. Determine the member variables and methods of any class at run time; 4. Call the method of any object at runtime.

Jun 12, 2020 pm 04:26 PM
java面试题反射
[LeetCode]238. Solution to the product of arrays other than itself

[LeetCode]238. Solution to the product of arrays other than itself

The question gives you an integer array nums of length n, where n > 1, and returns the output array output, where output[i] is equal to the product of the remaining elements in nums except nums[i]. Example: Input: [1,2,3,4] Output: [24,12,8,6] Tip: The question data ensures that the product of all prefix elements and suffixes (even the entire array) of any element in the array is Within the range of 32-bit integers. Note: Please do not use division, and in O(n...

Jun 06, 2020 pm 04:04 PM
1
SpringCloud interview key points

SpringCloud interview key points

SpringCloud interview points: 1. Advantages of Spring Cloud; 2. The meaning of load balancing; 3. What is Hystrix; 4. What is Hystrix circuit breaker; 5. Advantages of Netflix Feign; 6. What is service registration and discovery; 7. Circuit breaking function of the device.

Jun 03, 2020 pm 05:31 PM
java
2020 New Java Interview Questions-Multi-Threading (4)

2020 New Java Interview Questions-Multi-Threading (4)

Java multi-threading interview questions: 1. How to prevent deadlock; 2. What is ThreadLocal? What are the usage scenarios? ; 3. Let’s talk about the underlying implementation principle of synchronized; 4. What is the difference between syscdhronized and colatile.

May 29, 2020 pm 05:22 PM
面试题java多线程
2020 New Java Interview Questions - Multi-Threading (3)

2020 New Java Interview Questions - Multi-Threading (3)

This article comes from the Java interview questions column. This article introduces Java multi-threading related interview questions to you. It has certain reference significance and I hope it can help you. The thread pool has 5 states: Running, ShutDown, Stop, Tidying, and Terminated.

May 14, 2020 pm 05:56 PM
java面试题多线程
2020 New Java Interview Questions - Multithreading (2)

2020 New Java Interview Questions - Multithreading (2)

Java interview questions: 1. What are the states of threads? 2. What is the difference between sleep() and wait()? 3. What is the difference between notify() and notifyAll()? 4. What is the difference between run() and start() of a thread? The difference; 5. What are the ways to create a thread pool.

May 07, 2020 pm 04:57 PM
java面试题多线程
2020 New Java Interview Questions - Multithreading (1)

2020 New Java Interview Questions - Multithreading (1)

Advanced Java interview questions: 1. What is the difference between parallelism and concurrency; 2. The difference between threads and processes; 3. What is a daemon thread; 4. What are the ways to create a thread; 5. What is the difference between runnable and callable.

Apr 25, 2020 pm 05:54 PM
java面试题多线程
2020 New Java Interview Questions - Containers (3)

2020 New Java Interview Questions - Containers (3)

This article shares with you common Java interview questions related to containers. It has certain reference value and I hope it can help everyone. Interview questions: 1. What is the difference between Array and ArrayList; 2. What are the thread-safe collection classes?

Apr 17, 2020 pm 05:08 PM
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