search
HomeTechnical articlesJavaJavaInterview questions
Java high-frequency basic interview questions——(4)

Java high-frequency basic interview questions——(4)

Servlet has a well-defined life cycle, including loading and instantiation, initialization, request processing, and service termination. This lifetime is expressed by the init(), service() and destroy methods of the javax.servlet.Servlet interface.

Sep 02, 2020 pm 04:08 PM
java面试题
Java high-frequency basic interview questions——(3)

Java high-frequency basic interview questions——(3)

What is the use of a.hashCode()? What is the relationship with a.equals(b)? Answer: The hashCode() method corresponds to the hash value of the object's integer type. It is commonly used in hash-based collection classes, such as Hashtable, HashMap, LinkedHashMap, etc.

Aug 31, 2020 pm 04:49 PM
java面试题
Java high-frequency basic interview questions——(2)

Java high-frequency basic interview questions——(2)

The difference between String and StringBuffer: They can store and operate strings, that is, character data containing multiple characters. The String class provides numerically immutable strings. The string provided by this StringBuffer class can be modified.

Aug 29, 2020 pm 04:18 PM
java面试题
Java high-frequency basic interview questions - collection framework part

Java high-frequency basic interview questions - collection framework part

Java interview questions and answers: What is the difference between ArrayList and Vector? Vector is thread-safe, which means that its methods are thread-synchronized, while ArrayList is thread-unsafe, and its methods are thread-asynchronous.

Aug 28, 2020 pm 03:49 PM
java面试题集合框架
Java high frequency basic interview questions

Java high frequency basic interview questions

Is it possible to issue a call to a non-static method from within a static method? Can't. Because non-static methods are associated with objects, an object must be created before method calls can be made on the object. However, static methods do not need to create an object when calling, and can be called directly.

Aug 26, 2020 pm 03:38 PM
java面试题
Java basic interview questions (1)

Java basic interview questions (1)

Can multiple classes (not inner classes) be included in a ".java" source file? What are the restrictions? There can be multiple classes, but there can only be one public class, and the public class name must be consistent with the file name.

Aug 24, 2020 pm 04:08 PM
java面试题
Java interview questions summarized from many years of development experience - (8)

Java interview questions summarized from many years of development experience - (8)

This article shares some Java interview questions with you, which has certain reference value and I hope it can help you. Several injection methods of Spring: 1. Annotation injection; 2. Setter injection; Constructor injection.

Aug 21, 2020 pm 04:37 PM
java面试题
Java interview questions summarized from many years of development experience - (7)

Java interview questions summarized from many years of development experience - (7)

Java interview questions and answers: This article shares several common Java interview questions with you, which has certain reference value and I hope it can help you.

Aug 20, 2020 pm 04:37 PM
java面试题
Java interview questions summarized from many years of development experience - (6)

Java interview questions summarized from many years of development experience - (6)

Common Java interview questions: This article shares several common Java interview questions with you, which has certain reference value and I hope it can help you.

Aug 17, 2020 pm 04:40 PM
面试题java
Java interview questions summarized from many years of development experience——(5)

Java interview questions summarized from many years of development experience——(5)

This article shares several common Java interview questions with you, which has certain reference value and I hope it can help you.

Aug 15, 2020 pm 04:41 PM
java面试题
Java interview questions summarized from many years of development experience - (4)

Java interview questions summarized from many years of development experience - (4)

ArrayList stores objects in the form of an array, because it is stored in continuous positions, making insertion and deletion troublesome, but the query efficiency is high, and the continuous array is ordered and can be searched according to the index.

Aug 14, 2020 pm 04:59 PM
java面试题
Java interview questions summarized from many years of development experience - (3)

Java interview questions summarized from many years of development experience - (3)

What are the uses of final keyword in Java? Modified variables must be initialized or cannot be modified, modified classes cannot be inherited, and modified methods cannot be overridden.

Aug 13, 2020 pm 04:59 PM
java面试题
Java interview questions summarized from many years of development experience - (2)

Java interview questions summarized from many years of development experience - (2)

Common Java interview questions: This article shares some common Java interview questions with you, which has certain reference value. I hope it can help students in need.

Aug 11, 2020 pm 04:43 PM
java面试题
Java interview questions summarized from many years of development experience - (1)

Java interview questions summarized from many years of development experience - (1)

Object-oriented features can be summarized as encapsulation, inheritance, and polymorphism. The attributes and behavioral characteristics of things in the real world are abstracted and put into a container (class). For example, human beings, whose actions such as walking, listening, eating, and speaking can be summarized. It is a method in the class, but it is also the common denominator of human beings. People's height and weight can be attributed to the attributes in the class.

Jul 21, 2020 pm 05:28 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 Article

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