Java
-
Give swagger a new skin knife4j integrated record
Swagger has a set of classic UI, but it is not very easy to use. I saw knife4j before, with beautiful interface and pe…… -
Experience of the interview questions, first make the next part of the summary.
preface I've been interviewing for a week. I've experienced all kinds of interviews, good ones, bad ones, long ones, s…… -
Can you tell me what AQS is? How do you use it?
preface During the Java interview, the knowledge related to multithreading cannot be avoided and will certainly be ask…… -
Tell me about your understanding of volatile in Java
preface @H_@ R_ 301_ 2408@_3 @In fact, I have always mastered the knowledge related to volatile, and can roughly tell …… -
Understanding I / O model of Java NiO (2)
preface The last article explained some basic concepts of I / O model, including synchronous and asynchronous, blockin…… -
Replacement of swtich in Java program optimization
Keyword switch statements are used for multi condition judgment. Their functions are similar to if else statements, an…… -
[turn] how to prepare technical interview answers in Java direction (summary version)
This article is reproduced from: "Java regiment" official account. 1. Difference between object oriented and process o…… -
Tell me about your understanding of SPI in Java
preface Recently, I was asked about SPI during the interview, but I didn't answer. It was mainly for my own reason. I …… -
Delayed execution using lambda programming
The main reason for using lambda expressions is to delay the execution of the code to an appropriate point in time. Al…… -
Java 8’s stream API uses
preface This time I want to introduce the API use of Java stream. I'm working on a new project recently, and then I ca…… -
In java reflection, class Difference between forname and classloader
preface Recently, during the interview, I was asked about class in java reflection The difference between loading clas…… -
Let’s talk about your understanding of ThreadLocal
preface When I was asked about ThreadLocal during the interview, I didn't answer well (grandma's, now I feel that I ca…… -
Is the size method of concurrenthashmap thread safe?
preface During the interview, I was asked, is the size method of concurrenthashmap thread safe? This question is reall…… -
Understanding I / O model of Java NiO (I)
preface I used to be weak in Java NiO, and I missed an opportunity because of this knowledge. So I'm going to study th…… -
Java8 adds a new method removeif in the collection
I remember in my previous job search experience, I met an interviewer who asked me a very basic question. The question…… -
Object type conversion of Java
Conversion between basic data types: public class Person extends Object{} public class Student extends Person{} Cast J…… -
Priority of Java operators
The priority decreases from top to bottom, that is, the priority of the previous line is always greater than that of t…… -
Static keyword of Java
Design idea of class attribute and class method: Scope of use: in Java classes, static can be used to modify attribute…… -
Ternary operator of Java
Logical operation? m : n; If the logical operation is true, M is returned; otherwise, n is returned example: Judge the…… -
Java = = operator and equals operator
==Operator: Equals operator: Output: false false Output: true true Output: true true true false Note: A1 and B1 point …… -
How to automatically complete new objects in eclipse
For example, we are entering: Then press Ctrl + 1, Select the first item: -
Collection of Java (set, list, map)
The Java collection class is stored in the Java, UTI package and is a container for storing objects. Java collections …… -
Java interface
Sometimes you must derive a subclass from several classes and inherit all their properties and methods. However, Java …… -
Java (III) conversion between basic types
Automatic type conversion: types with small capacity are automatically converted into data types with large capacity. …… -
Java simple class object instantiation process
Suppose there is such a class: Person p = new Person(); The creation process of the whole object is as follows: -
Parameter passing of Java methods (value passing and reference passing)
Method is meaningful only when it is called by its class or object. If the method has parameters: Formal parameter: pa…… -
Examples of different data flow applications of Java
It is divided into byte stream (8bit) (InputStream and ouputstream) and character stream (16bit) (reader and writer) a…… -
Enumeration and annotation of Java
JDK1. 5. The newly added enum keyword is used to define enumeration classes. Differences between enumeration class and…… -
-
Abstract class of Java
With the definition of new subclasses in the inheritance hierarchy, the class becomes more and more specific, while th…… -
Bit operator of Java
Integer to binary: integer toBInaryString(6) < <: move left, 3 < < 2 = 3 * 2 * 2 = 12 >>: shift righ…… -
Reflection mechanism of Java
It's hard to understand what this is, for example. Suppose we have a picture of animation now. Through this picture, w……