Java
-
Tree of Java data structures and algorithms (power node Java College)
Why use trees: The tree combines the advantages of the two data structures: one is the ordered array, and the speed of…… -
Detailed explanation of inheritance examples of Java classes (power node Java College)
I Do you know class? In Java, class files are For code files with Java suffix, at most one public class is allowed in …… -
Getting started with the spring boot framework and quick start
Six previous articles have been written in succession, mainly introducing the spring and spring MVC frameworks. In the…… -
Java network programming, socket programming, etc
Network programming refers to writing programs that run on multiple devices (computers), which are connected through t…… -
Detailed explanation of polymorphism concept and implementation principle in Java
I What is polymorphism? 1. Definition of polymorphism Allows different objects to respond to the same message. That is…… -
Java implements the function of exporting the object array through Excel
1、 Import the relevant jar packages. POM dependencies are as follows: 2、 Start code 1. If the export function is use…… -
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'…… -
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……