Java
-
Java callback method details
Callback is defined in Wikipedia as: In computer programming, callback function refers to the reference of an executab…… -
Explain the loading order of classes in Java
This article introduces the loading sequence of classes in Java. Let's see the detailed introduction below: 1. When th…… -
Detailed explanation and simple example of cookie in Java
Detailed explanation of cookies in Java The operation of cookies in Java is relatively simple. It mainly introduces th…… -
Java Apache POI reads and writes Word Doc files
Reading and writing Word Doc files using poi The hwpf module of Apache POI is specially used to read and write Word Do…… -
A simple example of Java judging the length of Chinese string
Don't say much, code: The above simple example of Java judging the length of Chinese string is all the content shared …… -
Detailed explanation of scala applet and example code
Detailed explanation of scala applet 1. interactive mode In the command line window, enter the scala command: First …… -
Detailed explanation of websocket + spring sample demo (sockjs library has been used)
1. Introduction As the next generation web standard, HTML5 has many remarkable new features, such as canvas, local sto…… -
Spring websocket sample explanation
scene Websocket is one of the newly added features of HTML5. Its purpose is to establish a full duplex communication m…… -
15 top Java multithreaded interview questions (with answers)
Multithreading and concurrency issues are an essential part of any Java interview. If you want to get a front desk inf…… -
Detailed steps to close Alipay’s confidential payment procedures
As one of the most commonly used applications in our daily life, Alipay has become the virtual wallet of people. But r…… -
The Jackson framework of Java can easily convert JSON
Jackson can easily convert Java objects into JSON objects and XML documents. He can also convert JSON and XML into Jav…… -
JSON parsing and serialization using Jackson in Java
Common JSON class libraries under Java include gson, JSON lib and Jackson. Jackson is relatively efficient. Jackson is…… -
Java removes simple instances of duplicate objects
Examples are as follows: Solution idea: create a temporary container ArrayList to store non duplicate objects. Input n…… -
JSP, struts, spring and mybatis to realize the modular splitting of front-end page functions
Front end page function modular split When a system has many functions, it is impossible to write the pages of all fun…… -
SSH combined with jQuery to achieve three-level linkage effect
This example shares the specific code of jQuery to realize three-level linkage for your reference. The specific conten…… -
Spring MVC — detailed explanation of data binding and form tags
Data binding and form labels Data binding Data binding is a feature that binds user input to the domain model. In the …… -
Detailed explanation of Java single test void type method
preface When we learn Java, teachers or ordinary books say that there are eight basic types of Java. They are byte, in…… -
Overview and implementation steps of picture verification code
I Picture verification code overview: Many websites have this implementation effect: In order to improve the security …… -
The mybatis interceptor implements paging
Final Dao layer result: The next step is to implement paging step by step. I To create a page object: It can be found …… -
Deep understanding of spring multi data source configuration
We often encounter the problem of multiple data sources in projects, especially in projects such as data synchronizati…… -
Java decimal to binary, octal, hexadecimal string
Decimal to binary class DecToBin { public static void main(String[] args) { //System.out.println("Hello Worl…… -
Collection of Java interview questions and answers (122 basic questions and 19 code questions)
A collection of java basic interview questions and answers (122 basic questions and 19 code questions). The details ar…… -
Detailed explanation of Java chart class library
abstract In the development of background sites using Java, chart and report functions are indispensable. This paper r…… -
Explain in detail the simple addition, deletion and modification through JDBC (take MySQL as an example)
Foreword: what is JDBC Java database connectivity (JDBC) is an application program interface used in the Java language…… -
Java implementation traverses all files under the folder (recursive call and non recursive call)
Java traverses all files under the folder (recursive call and non recursive call) 1. Do not use recursive method calls…… -
Example code of Excel file upload and download based on spring MVC
Recently, I encountered a demand. I need to download the excel template, upload it for analysis and store it in the da…… -
Introduction and wonderful use of absolute value function in Java
1、 Instructions for absolute value function The absolute value function is math in JDK Java implementation method, wh…… -
Summary of six principles and one rule of java object-oriented
1. Single responsibility principle: one kind only does what it should do. 2. Richter substitution principle: a subclas…… -
Several algorithms of Java symmetric encryption are implemented respectively
Java symmetric encryption is implemented using DES / 3DES / AES algorithms There are two sentences: 1) Algorithms and …… -
Delete element instance code in linked list of Java data structure
Java delete elements in linked list The following example demonstrates using the clear() method to delete elements in …… -
Summary of six principles and one rule of java object-oriented
1. Single responsibility principle: one kind only does what it should do. 2. Richter substitution principle: a subclas…… -
Java sorts list collections sort()
Sort the objects in a collection, and sort them in ascending or descending order according to the size of an indicator……