包含标签:Java 的文章
-
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 …… -
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…… -
Summary of knowledge points of HashMap in JDK7
Several important variables in HashMap The default initial capacity must be the nth power of 2 The maximum capacity is…… -
Common exception classes in Java
1. java. lang.nullpointerexception We must often encounter this exception. The explanation of the exception is that "t…… -
Detailed explanation of Java data structure (linear table)
Chain storage and implementation of linear list Another way to realize the linear table is chain storage, that is, tho…… -
Java socket file transfer example code
Recently, I became addicted to learning socket, so I wrote a simple file transfer program. Client design idea: the cli…… -
Analysis of several cases of thread death in Java
The java thread conference ends in the following three ways, and is in a dead state after it ends 1. The execution of …… -
Java uses the nesting of conditional operators to complete the division of academic achievement
Title: use the nesting of conditional operators to complete this question: students with academic achievement > = 9……