Java
-
Java implementation of random output 300 questions four operations
If you don't have much to say, please see the code: The above is the whole content of this article. I hope the content…… -
JDBC detailed explanation of Java transaction management learning
What is a Java transaction The general idea is that transactions are only related to databases. Transactions must comp…… -
Differences in Java Tostring(), (string), valueof() method
In the actual development and application of Java projects, the basic function of converting objects into strings is o…… -
Java decomposes a positive integer into prime factors
Program analysis: to decompose the prime factor of N, first find a minimum prime number k, and then complete it accord…… -
Java self addition and self subtraction operation process
No more nonsense. I'll post the code directly to you. The specific code is as follows: output i 2 j 7 k 7 h 3 p1 0 p2 …… -
Java prints out the digits in reverse order according to the number of positive integers
Title: give a positive integer with no more than 5 digits. Requirements: first, find how many digits it is, and second…… -
Java finds all subsets of a set through bit operation
Java does not have its own method to find all subsets of a set. We can find them through the subset law of the set. Al…… -
Java to merge cells and export excel examples
introduce POI provides APIs for Java programs to read and write files in Microsoft Office format. The document formats…… -
Socket communication instance code between Python and Java
Socket communication between Python and Java I have done a Java communication tool before, with basic functions such a…… -
A summary of the mistakes that long and integer are easy to make in Java
Today, many high-risk vulnerabilities are found after scanning the project with findbugs. A very common one is to comp…… -
Detailed explanation of the conversion of byte, byte array, int and long in Java
1、 Source code of conversion between byte and int in Java: Test code: 2、 Source code of conversion between byte arra…… -
Detailed explanation of lambda expression example, a new feature of Java 8
Detailed explanation of lambda expression example, a new feature of Java 8 Before introducing lambda expressions, let'…… -
Removing HTML tags from regular expressions in Java
The regular expression in Java removes the HTML tag, which is mainly used to display the content more accurately. For …… -
Detailed explanation of classreader, classvisitor and classwriter for ASM source code learning
ASM ASM is Java is a popular class library for reading script code, which is used to analyze and convert code based …… -
Comparison of several common thread pools in Java
1. Why use thread pool Many server applications, such as web servers, database servers, file servers, or mail servers,…… -
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 …… -
Detailed explanation of finding duplicate data instances in Java list
Detailed explanation of finding duplicate data instances in Java list Requirements: Find all duplicate data in a list …… -
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 ……
