包含标签:Java 的文章
-
Xiaobai learns Java: internal classes
Xiaobai learns Java: internal classes An internal class is a form of encapsulation. It is a class defined in a class o…… -
Basic Java syntax (3)
operator Arithmetic operator Assignment Operators Comparison operator Logical operator Bitwise Operators ternary ope…… -
Learning series of Java Xiaobai collection source code: ArrayList
ArrayList source code learning This paper is based on jdk1 Version 8, do some source code learning for the giant Array…… -
Java concurrent reading notes: JMM and reordering
Java Memory Model (JMM) The Java Memory Model (JMM) defines the access rules for each variable in the program, that is…… -
Encapsulation and access control of Java (2)
Encapsulation and access control of Java (2) Access control is the hiding of specific implementation and a part of enc…… -
[dark horse tourism network] project completion + unfinished function realization + personal summary + bug record
Source address: at the bottom of this article! 1、 Project configuration problem 1. [Maven project directory structure…… -
Dynamic binding of Java polymorphism
Dynamic binding of Java polymorphism The first review: polymorphism is a very important feature of object-oriented pro…… -
Xiaobai learns Java: I / O flow
Xiaobai learns Java: I / O flow Basic classification Development history File character stream Basic structure of outp…… -
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……