Common online documents for Java developers
Document Name
Version
J2se API docs
1.3.1 1.4.2 1.5
Jdk sdk docs
1.3.1 1.4.2 1.5
The J2EE 1.4 tutorial
1.4
The
Thoughts on java stack and stack
1. Both stack and heap are places where Java is used to store data in Ram. Unlike C ++, Java automatically manages stacks and stacks, Program You cannot directly set stacks or stacks. 2. The advantage
Some time ago, after about 20 days, I summarized the content of javase. Recently, due to my personal reasons and some messy things, it has not been updated. First of all, I would like to thank my friends who have supported me. Recently, I don't know
In Java, there is only one way to pass the parameters of the method: value transfer. Passing a value is to pass a copy (replica) of the actual parameter value into the method, and the parameter itself will not be affected.
Public class
There are three types of hibernate retrieval mechanisms, which have their own advantages and disadvantages. They are divided into the following three types:
1. Search policy now
2. Delayed retrieval Policy
3. left Outer Join search policy
Load now:
We have encountered a lot of questions about the range of numerical types. Here we can make a conclusion that we can understand the range of numerical values that different numerical types can represent in many ways.
Here we only talk about the
Through the URL package provided by Java, we can download the webpage from the specified website like the IE browser, and the download is definitely the real HTML, with this principle, we can make our own kernel browser!
Please refer to the
Guidance:
Javatm 2 PlatformStandard ed. 5.0
In the Java util package, there are two sets of parent Interface collection and map. Their parent-child relationship:
Java. util+ Collection: extends: Java. Lang. iterable+ List Interface-Arraylist class-
Backup a useful tool class. typeutilIts typetostring (string scope, object OBJ) method adopts the reflect mechanism of Java to print the content of any object.This is very useful for debugging programs.Usage:If you have an object (such as
Test write class
/*** Test results** 1. File's long: 16 KB*Filewrite's time ---------- 36Outputstream test's time ---------- 167Bufferedoutputtest's time ---------- 17Bufferedwritetest's time ---------- 14Bufferedwrite and filewritertest's time ---
1. algorithm ideasQuick sorting is a sort by Division and exchange proposed by C. R. A. Hoare in 1962. It adopts a sub-Governance Policy, usually called divide-and-conquermethod ).
(1) Basic Idea of divide and conquer LawThe basic idea of the
3.5 build and parse message protocols
The following is a simple example.
The program supports two types of requests. One is the query (Inquiry), that is, to ask the server about the total number of votes currently received by a given candidate. The
Use the cmd.exe command in Java
Keywords: Java cmdJava runtime.getruntime(cmd.exe C (commandtext) can call and execute the CMD command.
CMD/C dir: Close the command window after executing the Dir command.
CMD/K dir does not close the command window
Java. util summary 2
Qzg589 original (Participation score: 123781, expert score: 6302) published: Version: 1.0 read:1637Times
Small and smaller.In the previous example,
The parameter passing process of objects in Java is indeed a bit messy. Here we will summarize: first, a piece of test code.
Public class main {Public Class AA {Public String I;Public Int J;}Public static void main (string ARGs []) {// System. Out.
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