包含标签:Java 的文章
-
Parameter passing mechanism of Java methods
Parameter passing mechanism of Java methods If formal parameters are declared in a Java method, you must specify param…… -
Object oriented inheritance in Java (1)
Java object oriented inheritance introduction The concept of inheritance also exists in our lives. Lao Liu is Lao Wang…… -
Downward transformation of Java polymorphism
Downward transformation of Java polymorphism Upward transformation can be completed automatically, while downward tran…… -
Java: that’s the case with enumerating classes
1、 Foreword This blog is about jdk1 5's new features are a wave of small summaries of enumeration, mainly because whe…… -
Detailed summary of runtime classes in Java
Introduction to runtime class In Java, the runtime class provides many APIs to communicate with @ H_ 403_ 33@java Inte…… -
[Java Concurrent Programming] summary of common tools: countdownlatch, cyclicbarrier, semphore, exchange
CountDownLatch Countdownlatch allows one or more threads to wait for other threads to complete operations. Similar to …… -
Java: several ways to control threads
Java: several ways to control threads There are many ways to control threads. This paper makes a summary. join() The o…… -
[in depth understanding of Java virtual machine] characteristics of four reference types
Strong reference The most common in Java is strong reference. Assigning an object to a reference variable is a strong …… -
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……