Java
-
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…… -
Inheritance of Java person, student and goodstudent and execution of constructor
There are three classes: person, student and goodstudent. Among them, student inherits person and goodstudent inherits…… -
Spring implements scheduled tasks with squertz
preface Speaking of scheduled tasks, the development partners must be familiar. Some things always need computers to c…… -
Implementation of SQL batch modification method in mybatis
In the project, I met the function that needs batch update. I originally wanted to use circular access to the database…… -
On java object-oriented (Abstract inheritance interface polymorphism)
What is inheritance? When the same attributes and behaviors exist in multiple classes, these contents are extracted in…… -
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 …… -
Java regular expression to extract the required characters and put them into the array [ArrayList array de duplication function]
This example describes the implementation of Java regular expression to extract the required characters and put them i…… -
An example of paging using hibernate and struts 2
Thinking of learning a new thing every day, I prepared this hibernate + struts 2 to realize the page paging function. ……
