In our normal development work, often need to read and write stream, in this process the most egg pain is a variety of try and catch, and then finally you can not forget to close the flow, so as to avoid the resource leakage, this set down feel
The company originally in the Import Execel file, is an import; that is, each import file should have corresponding Java code to achieve, so in the reading Execel file when there is no problem, these two days, ready to waste the previous practice,
Directory:
Q1.1 What is Java, Java2, JDK. What happened to the 1.3, 1.4 version number behind the JDK.
Q1.2 what is jre/j2re.
Q1.3 Learn what Java tools are better.
Q1.4 Learn what good reference books Java has.
Q1.5 Java and C + + which is
/**
*
A Chinese character is counted as two digits, an English alphabet is counted, and the string length of the mixed Chinese and English characters is calculated. String: String str = "I am not good Java";
* @author New/new *
/public class
"Die knock Java Concurrency"-----Deeply analyze the realization principle of synchronized
I remember just beginning to learn Java, one encounter multithreading situation is synchronized, relative to us at that time synchronized is so magical and
definition: Given a language, defines a representation of his grammar, and defines an interpreter that uses the representation to interpret a sentence in a language.
Type: class behavior pattern
class Diagram:
The structure abstraction interpreter
Background Information
One of the most recent RSS-reading tools for yourself is to get a JSON file containing a list of RSS feeds from the server side, and then download and parse RSS content based on this JSON file. The core code is as
Author: Alextan
E-mail:alextanbz@gmail.com
Our last blog was to use IO to implement the book Management system, but in practice, it is impossible to use IO processing, why. First of all, we have to read the code every time and write a file, the
When it comes to encryption, a digital signature is associated with two concepts that are often confused.
Encryption: Encryption is a way to send information in a password way. Only the person with the correct key can unlock the password for this
Recently to use graphics verification code, the Internet to find information, reference changed a tool class, and added to the program, the following recorded to do the backup, the main reference to http://www.iteye.com/topic/573456 article changes,
Jhat is the Java Heap analysis tool (Java heap analyzes Tool). Become standard after the JDK6U7. Using this command requires some Java development experience, and the official does not provide technical support and customer service for this tool.
webchat chat Room
2018.02.26
Source Address has been posted Ah, leaving the mailbox as their own download
project address: Https://github.com/Amayadream/WebChat
2017.01.11 Update
-replace Oracle with MySQL
-organize the structure and remove
Reprint Please indicate the source: http://blog.csdn.net/ns_code/article/details/17487337
Simple use of lock lock
The new lock mechanism--java.util.concurrent.locks explicit mutex in Java 5: The Lock interface, which provides a more extensive
authentication failed with spring's restoperations (top-level Class), Resttemplate send restful request HTTPS (SSL)Because we are requesting the HTTPS format, the server side is required to have your signed certificate
The first workaround, using
The field is similar to the previous construction method and behavior method;
Package javainvokefiled;Import Java.lang.reflect.Field; /*** Reflection Get Field* @author Administrator**/Class filed{public String name;private int age;private int
Table of Contents What is Maven? How does the MAVEN Central Library publish a jar package to the MAVEN Central Library register MAVEN Central Library account request a warehouse local MAVEN configuration (official description) using GPG to sign Java
These days, has been in the Java "memory leak" problem entangled. The memory consumed by Java applications continues to rise regularly, exceeding the monitoring threshold. Sherlock Holmes had to take a shot.
Memory overflow out of memory, which
JVISUALVM IntroductionVisualVM is NetBeans's profile subproject, which has been self-contained in JDK6.0 Update 7, is capable of monitoring threads, memory conditions, viewing the CPU time of the method and in-memory objects, the object that has
In the first section, we have successfully opened the page, but the automated test necessarily contains the form's fill-in and button clicks. So in the second chapter I take the blog garden as an example, complete the button click, Form Fillor
ClassLoader translation is the ClassLoader, the average Java developers actually use a few, but for some framework developers are very common. Understanding the loading mechanism of ClassLoader also helps us to write more efficient code. The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.