Java
-
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 Web (2) – jQuery
1、 JQuery first experience Use jQuery to bind click events to a button <!DOCTYPE html> <html lang="en"> &…… -
Java exception
1、 Abnormal? Java. In Java System Lang. throwable class is the root class of the exception [java.lang.throwable is th…… -
Definition and use of Java array
1、 Array concept Multiple data of the same data type can be stored in the same container 1. Format 2. Array operation…… -
Java Web (5) – servlet details (Part 2)
1、 HttpServletRequest class 1. What is the role of HttpServletRequest? Every time a request enters the Tomcat server,…… -
Java Web (5) – servlet details (Part I)
1、 Servlet 1. What is a servlet 2. Manually implement the servlet program First, create a corresponding module in the…… -
Java common class – wrapper class
1、 Use of packaging import org.junit.Test; public class WrapperTest { //String类型 --->基本数据类型、包装类:调…… -
Java common class – string class
String related classes: String String class: represents a string. All string literals (such as "ABC") in Java programs…… -
Java Web(1)-JavaScript
1、 Combination of JavaScript and HTML code 1. The first method Just use the script tag in the head tag or the body ta…… -
Java multithreading detailed summary
1、 Basic concepts Program @ h_ 301_ 4@: a set of instructions written in a certain language to complete a specific ta…… -
Java object-oriented explanation – next
1、 Static public class TestCircle { public static void main(String[] args) { Circle c1 = new Circle(); Circle c2…… -
Java common class – object class
1、 Java Lang.Object class 1. Object class is the root parent class of all Java classes 2. If the extension keyword is…… -
Java comparator
Normally, objects in Java can only be compared = = or= You can't use > <, but in actual development, we need to …… -
Java Web(3)-XML
1、 Introduction to XML 1. What is XML? XML is an extensible markup language 2. What is the role of XML? 2、 XML synta…… -
Java Language Overview
1、 Java Basics 2、 Software 1. What is software? Software = data + instruction [command] + document 2. What does soft…… -
Detailed explanation of java object-oriented – Part 1
1、 Classes and objects 1. Composition of class 2. Properties Member variable vs local variable 3. Method Provide the …… -
Summary of the most complete implementation methods of delayed tasks in history! Code attached (strongly recommended)
The birth of this article is thanks to a reader who gave this excellent article the opportunity to meet you. The focus…… -
New Java feature: can data types be thrown away?
A long time ago, when writing code, we should carefully consider the data types of variables, such as the following: H…… -
Spring boot (IV) template engine thymeleaf integration
1、 Introduction to thymeleaf Thymeleaf is a Java XML / XHTML / HTML5 template engine that can be used in web and non …… -
Java improvement class (VI) reflection and dynamic proxy (JDK proxy and cglib)
1、 Reflection 1. Get class object 2. Common methods of class // 此段代码为公共代码 interface People { int parentA…… -
General directory of spring boot series
1、 Reasons for the birth of spring boot series At school, I mainly learned Java and Net two languages. At that time, …… -
Spring boot (IX) swagger2 automatically generates interface documents and mock simulation data
1、 Introduction Under the current technology trend of separating the front end from the back end, the front-end engin…… -
Spring boot (VII) mybatis code automatic generation and auxiliary plug-ins
1、 Introduction 1.1 introduction to mybatis generator Mybatis generator is an official product of mybatis. It is used…… -
Spring boot (II) integrating JSP and production environment deployment
1、 Introduction One development scenario that I have to say about Java is web development, which is also one of the m…… -
Java improvement class (V) in-depth understanding of bio, NiO and AIO
Introduction: in this article, you will get: the performance difference between same / asynchronous + blocking / non b…… -
Three simplest implementation methods of timing tasks (super practical)
Scheduled tasks are particularly common in actual development. For example, the e-commerce platform automatically canc…… -
Rabbitmq series (II) deeply understand the working principle and simple use of rabbitmq
Deeply understand the working principle and simple use of rabbitmq Rabbitmq series Introduction to rabbitmq Before int…… -
Why does Ali recommend using longadder instead of volatile?
The above content has two key points: But words have no basis. Even if it is said by the lonely big man, we have to pr…… -
Never initialize an instance with double curly braces, otherwise it will oom!
Embarrassment is everywhere in life. Sometimes you just want to pretend, but some "old comrades" always inadvertently ……
