包含标签:Java 的文章
-
Java process control (IV) interrupt
In programming, the direct jump of the loop is very important. Although Java does not provide goto statements to contr…… -
On the default and static methods of Java
On the default and static methods of Java It is allowed to declare default methods and static methods in the interface…… -
Java class definition and class instantiation
Java class definition and class instantiation Class definition Direct code: package com.my.pac02; /** * @author Summe…… -
Object oriented programming idea
Object oriented programming idea 1、 Difference between object-oriented and process oriented: Process oriented design:…… -
[Java Concurrent Programming] ABA problem of atomic class atomic and CAS for concurrent operation
Atomic atomic class Atomic class is a class with the characteristics of atomic operation. Atomic classes exist in Java…… -
Java concurrent reading notes: lock and reentrantlock
Lock is located in Java util. concurrent. Under the locks package, there is a thread synchronization mechanism, just l…… -
Redis learning notes [interview questions]
Introduction to redis The redis database is different from the traditional database. The data of redis is stored in me…… -
Method rewriting of Java inheritance
In Java inheritance, a subclass can obtain all the structures of the parent class, and can also add properties and met…… -
Java array usage and foreach loop
Java array usage and foreach loop Without saying a word, let's start with a simple procedure: final int NUM= 10; int[]…… -
Java: reflection mechanism learning notes
1、 Reflection mechanism 1. Overview Reflection mechanism: encapsulate each component of a class into other objects. I…… -
[reprint] Introduction to JWT in Ruan Yifeng’s Weblog
JWT is the abbreviation of JSON web token. It is a JSON object that can be safely transmitted based on RFC 7519 standa…… -
Basic Java syntax (2)
1、 Strongly typed language 2、 Data type classification 1. Basic data type Integer type Memory space occupied by four…… -
[Java Concurrent Programming] summary of synchronized related interview questions
Tell me about your understanding of the synchronized keyword The synchronized keyword is used to solve the synchroniza…… -
Java: have to know the object class
The object class is the top-level parent class of all classes. Any object (except the basic type) implements the metho…… -
Java object oriented interface (1)
Java object oriented interface (1) It's been a long time since the last article. I was busy reviewing near the end of …… -
Java concurrent reading notes: thread safety and mutually exclusive synchronization
This article refers to many famous books to form reading notes, which is convenient for deepening memory. Previous por…… -
Learning series of Java Xiaobai collection source code: LinkedList
LinkedList source code learning Portal: learning series of Java Xiaobai collection source code: ArrayList This is the …… -
Basic usage of arrays class in Java
First knowledge of Java arrays class The arrays class includes many static methods (such as sorting and searching) for…… -
This of Java keyword
This of Java keyword concept This keyword can only be used inside a method to refer to the "object calling the method"…… -
Java concurrent reading notes: how to realize correct communication between threads
1、 Synchronized and volatile The synchronized keyword is a mutually exclusive built-in lock provided by Java. The loc…… -
[JDK1.8] Java Xiaobai’s source code Learning Series: HashMap
Java Xiaobai's source code Learning Series: HashMap The Spring Festival was cancelled. I spent many days at home gnawi…… -
Encapsulation and access control of Java (1)
Encapsulation and access control of Java (1) I always think I understand the concept of encapsulation, but I really ca…… -
Super keyword of Java
Super keyword of Java Don't say much, just go to the code: Super is used to restrict the object to call instance varia…… -
[Java Concurrent Programming] ThreadLocal, which is often tested in the interview, learning the super detailed source code
What is ThreadLocal? For what? public class Thread implements Runnable { //线程内部局部变量 ThreadLocal.ThreadLoc…… -
The file class is used in Java to explain the file operation in detail
We can know that the data stored in the program is temporary. When the program terminates, the data stored in the prog…… -
[deep understanding of Java virtual machine] class loader and parental delegation model
Class loader For any class, the class loader that loads it and the class itself must jointly establish its uniqueness …… -
Xiaobai learns Java: strange randomaccess
Xiaobai learns Java: strange randomaccess When analyzing the source code of the three collections, we said that ArrayL…… -
Have you mastered these collection operations of Java 8?
If you don't know about lambda, you can refer to my previous summary on lambda expression: lambda expression in Java 8…… -
Xiaobai learns Java: so is the iterator
Xiaobai learns Java: so is the iterator In the previous article, we talked about the old iterator enumeration and the …… -
[string topic] experience of topic brushing
String flipping problem 344 reverse string Double pointer approach, the classic solution to the inversion problem, use…… -
Java array definition and initialization
Array definition and initialization The concept of array and points for attention Definition of array // 定义数组 char…… -
Java object oriented constructor
Java object oriented constructor Use the constructor to ensure initialization Function: perform initialization when cr……