包含标签:Java 的文章
-
Detailed explanation of Java abstract class definition and method instance
In the object-oriented concept, all objects are described by classes, but conversely, not all classes are used to desc…… -
Solution to the timeout (504) problem of exporting a large amount of data to excel in Java Web Development
In web development, it is common to query data from the database or cross system call interface to prepare Excel data,…… -
Java polymorphism (power node Java College)
What is polymorphism 1. Three characteristics of object-oriented: encapsulation, inheritance and polymorphism. From a …… -
Java binary operation (power node)
displacement Most operations in bit operations are shift left and shift right. In Java, this corresponds to the two op…… -
The difference between object-oriented and process oriented (power node)
Procedure oriented means that functions or methods are allowed to be defined in a program. You may wonder, is there a …… -
Operating MySQL database instances using JDBC template in spring boot
Recently, I was learning to use spring boot to connect to the database. Today, I learned to use JDBC template to opera…… -
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'…… -
Java replace spaces
Please implement a function to replace spaces in a string with "% 20". For example, when the string is we are happy Th…… -
Detailed explanation of IP and URL and example code of network programming in java development
Java network programming java. net Class InetAddress this class represents an Internet Protocol (IP) address. An excep…… -
JSON lib converts a string in JSON format into an instance of a Java object
The date in the JSON format string is in the format of 'yyyy MM DD HH: mm: Ss'. If it is converted into an object acco…… -
Java implements the JSON back-end to transfer data to the front-end
1 back end two auxiliary classes ConcurrentDateUtil. Java, used to generate the format we need JsonResult. Java, jsonr…… -
Summary of object-oriented knowledge points in Java
1、 Concepts of objects and classes Class: an abstraction of a class of things with the same properties and methods. O…… -
Java and freemaker keep two decimal places
1、 Java retains 2 decimal places 2、 Freemaker keeps two decimal places Supplement: freemaker keeps decimals Freemake…… -
10 Java programmers familiar with object-oriented design principles
Object oriented design principle is the core of oops programming, but most Java programmers I have seen are enthusiast…… -
Java does not print instances of array elements with circular statements
Examples are as follows: The above example of printing array elements without circular statements in Java is all the c…… -
Java intercepts string instances between specific two tags
If there is a string: higklmnopq The Java code is as follows: The above example of Java intercepting the str…… -
Comparison and difference between overloading and rewriting in Java
The difference between overloading and rewriting in Java First, let's talk about overloading (1) Method overloading is…… -
Summary of the differences between Java abstract classes and interfaces
Summary of the differences between Java abstract classes and interfaces Abstract class and interface are two mechanism…… -
Java efficiently prints an instance of a two-dimensional array (no recursion, no two for loops)
Print an element, do not let the loop variable i + +, and go out of the thinking formula (execute the loop body once, …… -
Spring + mybatis multi data source configuration implementation example
Recently, mybatis was used to configure multiple data sources. Originally, it was thought that a simple configuration …… -
Detailed explanation of spring MVC @ requestmapping annotation
introduction: Some time ago, the rest style was used in the project to develop the program, but when submitting data i…… -
Summary of network communication (TCP communication, UDP communication, multicast and NiO) of java basic knowledge
Summary of network communication based on Java In this article, we mainly discuss how to use java to realize network c…… -
Java simulation wechat grab red envelope example code
Java simply simulates the wechat red envelope grabbing function. In this example, 10 people grab a red envelope of 100…… -
Basic knowledge of JavaBean and common garbled code solutions
Basic knowledge of JavaBean and common garbled code solutions The garbled code problem should be a problem encountered…… -
Detailed explanation of split () method example of Java regular expression
This article illustrates the split () method of Java regular expressions. Share with you for your reference, as follow…… -
An example analysis of Chinese regular matching method in Java
This paper describes the method of Java regular matching Chinese. Share with you for your reference, as follows: 1. Ma…… -
Java using POI to operate Excel files
1、 Definition of poi There are two mainstream toolkits for operating excel in Java: JXL and poi. JXL can only operate…… -
Java regular expression determines whether the string contains Chinese examples
preface In daily development and programming, we sometimes get some input information from users. For specific applica…… -
A simple example of intercepting and dividing string in Java
At present, there are three forms: It can be selected and used according to actual needs Operation results: The above …… -
Example of a method for Java to get numbers in a string through regular expressions
preface This article uses a small example to learn how to obtain numbers in a string through regular expressions in Ja…… -
On the loss of digital accuracy in Java object to JSON
phenomenon Large numbers in Java, such as 18 / 19 bit integers (long), are converted into JSON. After they are output ……