Java
-
Jmap view memory usage and generate heapdump
If you want to analyze your Java application, you can use jmap program to generate heapdump file example: Jmap - hea…… -
Binary search in Java
srcArray[] = {3,5,11,17,21,23,28,30,32,50,64,78,81,95,1010,srcArray.length - 1,81 -
Java IO streaming learning
Java IO streaming learning Classes or interfaces related to Java stream operations: Java flow class diagram structure:…… -
Various sorting algorithms implemented in Java (including bubbling, fast sorting, etc.)
// Heap sorting is unstable. Import Java util. Arrays; public class HeapSort { public static void main(String[] arg…… -
Installation and use of ActiveMQ
1、 Installation of ActiveMQ Environment: CentOS 6, jdk8 1. Ensure that the system has installed the available JDK ver…… -
Summary of 30 interview questions in Java
A start() B run() C exit() D getPriority() Answer: abd 2. The following is about Java The correct statement of lang. e…… -
reflex
1、 What is reflection Java programs can dynamically load, parse and use some data types that are uncertain in the com…… -
Java Concurrent Programming: inter thread communication wait, notify
Java Concurrent Programming: two ways of cooperation between threads: wait, notify, notifyAll and condition We've disc…… -
Detailed explanation of Java environment variable configuration (Windows)
< H1 class = "posttitle" > detailed explanation of Java environment variable configuration (Windows) < div cl…… -
Differences between hashtable and HashMap
1. Hashtable is thread safe, synchronous and relatively inefficient. HashMap thread is unsafe, asynchronous and relati…… -
Selected 30 java written test questions
A start() B run() C exit() D getPriority() Answer: abd 2. The following is about Java The correct statement of lang. e…… -
Comparative analysis of JSON tools in Java
< p align = "center" > < a class = "replace_word" title = "Java EE knowledge base" href=“ http://lib.csdn.net…… -
Detailed explanation of Java internal classes
Detailed explanation of Java internal classes Speaking of the word "internal class", it must be familiar to many peopl…… -
Java Concurrent Programming: comparison of sleep, wait and yield
First, wait () and notify (), notifyAll () are methods of the object class, sleep () and yield () are methods of the t…… -
Multithreading programming in Java
1、 Advantages and disadvantages of multithreading Advantages of multithreading: 1) Better resource utilization 2) sim…… -
HashMap, treemap, LinkedHashMap learning
Map is mainly used to store key value pairs and obtain values according to keys. Therefore, duplicate keys (repeated a…… -
Nine new features in Java 9
Nine new features in Java 9 Java 7 was released in 2011, Java 8 was released in 2014, and java9 was released on Sept…… -
Java Concurrent Programming: the use of thread pools
Java Concurrent Programming: the use of thread pools In the previous article, we created a thread when using threads, …… -
Installation and use of redis
Environment: CentOS 6.6 redis version: redis-3.0 (considering the characteristics of redis 3.0 in clustering and perfo…… -
How many ways to implement Java multithreading? How are threads synchronized
There are two ways to implement multithreading in Java: < span style = "font size: 15px;" > 1. Directly inherit…… -
struts2_ Struts type conversion
I In the servlet, the non string type submitted by the form needs to be converted manually 1. In struts, the commo…… -
Java_ Queue interface
Queue interface 1. english A) queue B) deque, double Ender queue 2. Queue interface In addition to the basic c…… -
struts2_ struts. Explanation of XML configuration file
1.bean Bean detailed explanation: https://www.cnblogs.com/lulu638/p/4340703.html 2.constant Constant attribute configu…… -
Java connection to MySQL database
Several methods of Java connecting to database *Explain 1. Take MySQL database as an example 2. There are fo…… -
JSTL_ XML tag library
JSTL_ XML 1: Explain 2: XML tag library The main function of XML tag library is to provide convenient support for op…… -
Java_ IO stream_ abstract class
< p align = "left" > I concept III Character stream and byte stream and file 1. Byte stream Input stream Out…… -
struts2_ HelloWorld
First struts 2 program - Hello 1. Create web project struts2-01-hello 2. Import the jar package into the bin d…… -
Java_ Bubble sorting_ Principle and optimization
Bubble sorting and its optimization I Principle and optimization principle 1. Principle explanation Bubble sorting…… -
struts2_ Is struts 2 thread safe?
Thread safety: multiple threads execute concurrently in a process. During thread execution, the variable values are th…… -
JSTL_ Core tag library
I explain 2: Core tag library The core tag library provides the general functions required for JSP page programming. …… -
struts2_ Struts 2 basic configuration
Basic configuration 1. Create a new web project 2. Import the jar package. Download the jar package required by stru……
