Java
-
[daily question] intersection of two arrays
349. Intersection of two arrays The difficulty is simple 227 Given two arrays, write a function to calculate their int…… -
[daily question] top k high frequency elements
347. Top k high frequency elements Given a non empty array of integers, return the elements with the highest frequency…… -
Java: six states and transformations of threads
Java: six states and transformations of threads There are different opinions on thread life cycle in online books, whi…… -
Java object oriented interface (2)
Java object oriented interface (2) Portal: java object-oriented interface (1) Interface definition and implementation …… -
[Java Concurrent Programming] understand volatile keyword from CPU cache model to JMM
Three characteristics of concurrent programming Atomicity For one operation or multiple operations, either all operati…… -
Summary of common methods of stream API in Java 8
What is stream? Stream regards the set of elements to be processed as a stream. In the process of streaming, the strea…… -
Java array drill down
Java array drill down Array in memory As mentioned earlier, array is a reference type, and array reference variable is…… -
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…… -
Upward transformation of Java polymorphism
Upward transformation of Java polymorphism Polymorphism is the third feature of object-oriented. Advantages of polymor…… -
About Java running mechanism
The difference between compiled language and interpreted language Compiled language What is compilation? By searching …… -
Java process control (2) loop
while Loop int i = 0; while(i<10) { System.out.println(i); i++; } System.out.println("跳出循环!"); //输出…… -
Java: multithreading overview and creation method
Java: multithreading overview and creation method In the previous learning process, concurrency, thread and synchronou…… -
On the similarities and differences between interface and abstract class in Java
On the similarities and differences between interface and abstract class in Java Abstract classes and interfaces have …… -
-
Simple introduction to filter
The article was first published in: https://blog.csdn.net/Sky_QiaoBa_Sum/article/details/105042151 Filter filter The f…… -
Xiaobai learns Java: RandomAccessFile
Previous portal: Xiaobai learns Java: I / O flow Xiaobai learns Java: RandomAccessFile All the streams we learned befo…… -
[Java Concurrent Programming] sorting out knowledge points related to thread pool – New
Summary of common thread pools created by several executors FixedThreadPool The thread pool with a fixed number of thr…… -
On the similarities and differences between interface and abstract class in Java
On the similarities and differences between interface and abstract class in Java Abstract classes and interfaces have …… -
Final explanation of Java keywords
Final is an important keyword in Java. This article will summarize it from three perspectives: final modifies data, me…… -
Summary of various traversal and deletion methods of HashMap
preface Several ways of HashMap traversal 1、 Iterator traversal Iterative entryset @Test public void testEntr…… -
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……