Java
-
Invocationtargetexception (reflection exception) for Java exception handling
Invocationtargetexception exception by method invoke(obj,args...) Method is thrown. Example: Test: Output: You can als…… -
Deeply understand the exception handling mechanism of Java
Exceptions refer to unexpected conditions, such as file missing, network connection failure, illegal parameters, etc. …… -
Detailed explanation of Java environment variable configuration (Windows)
< H1 class = "posttitle" > detailed explanation of Java environment variable configuration (Windows) < div cl…… -
Java Concurrent Programming: synchronization container
Java Concurrent Programming: synchronization container In order to write thread safe programs, Java provides some thre…… -
Java Concurrent Programming: thread and process creation (conversion)
Java Concurrent Programming: how to create threads? In the previous article, we have described the origin of process…… -
Differences between hashtable and HashMap
1. Hashtable is thread safe, synchronous and relatively inefficient. HashMap thread is unsafe, asynchronous and relati…… -
Java Concurrent Programming: concurrent HashMap
Java Concurrent Programming: concurrent HashMap of concurrent container (Reprint) The following part is reproduced fro…… -
-
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…… -
Class file structure
< H1 align = "left" > platform independence Java is a platform independent language, which benefits from the byt…… -
Comparative analysis of JSON tools in Java
< p align = "center" > < a class = "replace_word" title = "Java EE knowledge base" href=“ http://lib.csdn.net…… -
Java Concurrent Programming: lock
Java Concurrent Programming: lock In the last article, we talked about how to use the keyword synchronized to achieve …… -
-
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 memory management and detailed explanation of each memory area
1、 Overview Original link: http://blog.csdn.net/l271640625/article/details/39761439 In the process of executing Java …… -
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…… -
-
Write a general shell script to start a java project, which is applicable to most services. You only need to modify the service name
File name: service user sh Document content: ##The header file of shell script must have #/ bin/sh ##Configure the Jav…… -
Multithreading programming in Java
1、 Advantages and disadvantages of multithreading Advantages of multithreading: 1) Better resource utilization 2) sim…… -
struts2_ HelloWorld
First struts 2 program - Hello 1. Create web project struts2-01-hello 2. Import the jar package into the bin d…… -
java_ generic paradigm
I Use of generic classes 1. Use generics when defining classes 2. be careful: 3. Code example -
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…… -
Java_ Properties
Java_ Properties class Differences between hashtable and HashMap HashMap thread is unsafe, asynchronous and efficient …… -
Solve org hibernate. HibernateException: identifier of an instance of com. ahd. entity. Order was altered from2 to 0
error message Causes: 1. eg. The type of ID in the mapping file is integer, that is, int, while the type o…… -
-
Solve the problem of install new software in MyEclipse
Click Help in eclipse to directly find the install new software option to install plug-ins, but help does not have thi…… -
Solve org hibernate. exception. SQLGrammarException:could not insert
Today, I encountered this error when building a project using hibernate. I haven't found the reason for the error for ……