Original article linkAuthor:Jakob jenkovTranslator:AiruProofread:Ding Yi
Java NiO consists of the following core components:
Channels
Buffers
Selectors
Although there are many classes and components in Java NiO, in my opinion,
Let's talk about Java again. JDK should be installed every time, environment variables should be set, and a helloworld should be compiled to run it. Record it again below:
1. Set java_home as the JDK root directory
2. Add % java_home % bin to
JavaProgramDecompilation Tool
: Http://java.decompiler.free.fr /? Q = jdgui
JD-GUI
JD-GUI is a standalone graphical utility that displays Java source codes of ". Class" files. You can browse the reconstructed source code with the JD-GUI for
1. Background
As one of Apache's open-source projects, slf4j is short for simple logging system for Java. It is a facacde that makes it easy to use various log systems using slf4j? In fact, it is a bit like a container in a broad sense. The design
(1) Create or edit the system variable java_home and set or add the JDK installation path, for example:
C:/program files/Java/jdk1.5.0 _ 06
(2) create or edit the path of the system variable so that Java commands can be identified in any
Package WZS. arithmetics; import java. util. tags; // question: there are n people in a circle, ordered by number. When the first person reports the number (from 1 to 3), the person who reports the number 3 leaves the circle and asks the last person
Java mail sends an HTML-format email with images. There are two methods for displaying images.
1. images exist on the server. We only need to put the image link on the server.This method is relatively simple, but it has some drawbacks:Images
Dynamic proxy is actually Java. lang. reflect. the proxy class dynamically generates a Class byte based on all the interfaces you specified. This class inherits the proxy class and implements all the interfaces you specified (the interface array you
Package WZS. sort; import Java. util. arrays; // Bubble Sorting // basic idea: In the number of groups to be sorted, all the numbers within the range not sorted yet, // compare and adjust the adjacent two numbers from top to bottom, so that the
A few months later .. It was a busy couple of months. Recently, we were working on the CAS identity authentication system. The new version of CAS needs to be built using Maven, so we need to study Maven-related materials. The first step is to
I want to discuss with my colleagues about the memory storage of string as follows:
String S = "ABC ";String T = new string ("ABC ");
S t is stored in the stack as an object reference. My question is, what is the object information behind it? If new
/**
* File name: scrollframe. Java
* Environment: GNU/Linux Ubuntu 7.04 + eclipse 3.2 + JDK 1.6
* Function: Scroll text display panel demo
* Version: 0.0.2.0
* Version change: the source code in version 0.0.1.0 is simplified, and the bug that text
Printing a list is a basic function in the ordering system that is widely used in the catering industry. In catering, POS printers are generally used. However, in many ordering systems, dropping orders is a headache. This article provides a solution
----------- Android training, Java training, and Java learning technology blog. We look forward to communicating with you! ------------
API: What is an API? An API is an application programming interface. Simply put, it gives you a large library.
Since jdk1.5 and later, Java has added generics. The following describes a few demos from the application aspect and briefly describes the usage of generics.
Reference: http://www.cnblogs.com/sunwei2012/archive/2010/10/08/1845938.html
1. Basic
Processing date in Java:
First, ask the following questions:
1. What is UTC, UT? GMT?
World Time, standard time, Greenwich Mean Time.
2. How to get the current system time?
Method 1: system. currenttimemills (); returns the number of milliseconds
Some java. SQL. sqlexception exceptions are frequently encountered,
ORA-00904:Invalid invalid column name
ORA-00942:Table or view does not exist table or view does not exist
ORA-01400:Cannot insert null into () cannot insert null
1. Does the array have the length () method? Does string have the length () method?
A: The array does not have the length () method. It has the Length attribute.
String has the length () method.
2. String S = new string ("XYZ"); how many string
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service