Java
-
Summary of several methods of reading file (binary, character) content in Java
There are many methods to read the file content in Java, such as reading the file content by byte, reading the file co…… -
Java JSON does not generate null or empty string attributes (detailed explanation)
We usually use Java objects to convert JSON strings. Null or empty string attributes do not need to be generated into …… -
Java wechat red envelope implementation algorithm
With the increasing popularity of WeChat, more and more people are studying WeChat. This time ago, our company made me…… -
Java counts English letters, spaces, numbers and other characters of input characters
Title: input a line of characters and count the number of English letters, spaces, numbers and other characters. Progr…… -
Java inputs three integers and outputs them from small to large (x, y, z)
Title: enter three integers x, y and Z. please output these three numbers from small to large. Program analysis: we tr…… -
Detailed explanation of java basic data types and encapsulation types (difference between int and integer)
Int is one of the eight primitive data types provided by Java. Java provides encapsulated classes for each primitive t…… -
In depth study of Java bytecode framework ASM
1、 What is ASM ASM is a Java bytecode manipulation framework, which can be used to dynamically generate classes or en…… -
A bug about escape characters in Java
In Java, you can define Such literal quantity, for example: System. out. println("\u535a\u5ba2\u56ed"); No matter what…… -
Summary of switching methods after installing multiple versions of JDK
preface Because I just arrived at the new company and installed jdk1 7 and the development tool MyEclipse 10. However,…… -
Java traverses map keys, values, and method examples for obtaining map size
Map reads key value pairs and Java traverses two implementation methods of map The first method is to obtain the set s…… -
Polymorphic explanation and example code of C + + / Java inheritance class
Polymorphic explanation of C + + / Java inheritance classes People who have studied C + + and Java know that both of t…… -
Linux configuration JDK environment variables simple tutorial
preparation in advance Windows installation VMware installation Linux system jdk-8u60-linux-x64.0 tar. GZ (download li…… -
BigDecimal is used for precise operation in Java
First, let's look at the following code example: The operation results are as follows. zero point zero six nine nine n…… -
10 SQL errors easily made by Java programmers
Java programmers need to mix object-oriented thinking and general imperative programming methods when programming. Whe…… -
Java implementation of clockwise output spiral two-dimensional array method example
Recently, I saw an interesting logic algorithm problem, so I started to implement it. The title is to print out n * n …… -
Java JDBC connection database code and steps detailed and example code
Detailed explanation of JDBC connection database code and steps in Java JDBC connection database • create a program to…… -
[Java] BigDecimal implementation code for addition, subtraction, multiplication and division
java. math. BigDecimal There are four ways to make BigDecimal. Let me take a look at two of them first: The first: Big…… -
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 ……