1. Install JDKFirst download JDK 5.0 (the download page of JDK 5.0 is:Http://java.sun.com/j2se/1.5.0/download.jsp );Then run JDK 5.0 to installProgramJdk-1_5_0_06-windows-i586-p.exe, keep all options default during installation;Finally, configure
【Abstract]
In Java SE 6, there are many new practical features around the HTTP protocol: NTLM authentication provides a safer authentication mechanism on the window platform; JDK provides a lightweight HTTP server, a more comprehensive HTTP cookie
Keyword of the Java language, when it is used to modify a method orCodeAt the same time, only one thread can execute the code at most.
1. When two concurrent threads access the synchronized (this) synchronization code block of the same object,
1. Install JDK. You can customize the installation directory and other information during the installation process. For example, select c: \ Program Files \ Java \ jdk1.7.0 _ 01 as the installation directory;
2. After the installation is complete,
Top
0. Specification
1. Code Format
2. Name
2.1 packages
2.2 categories and interfaces
2.3 member variables
2.4 Constants
2.5 local variables
2.6 member functions and static functions
3. Notes
3.1
MS;"> font-size: 18pt;">The most common Java package
1. java. lang package: the Core class library of Java, including running JavaProgramEssential System classes, such as basic data types, basic mathematical functions, and stringsThe system
Java Excel API Overview
Java Excel is an open source project. Java developers can read the content of an Excel file, create a new Excel file, and update an existing Excel file. Using this API, non-Windows operating systems can also use Java-only
In Java, use the Reflection Method to load the specific classCodeYes:
Class CLS = Class. forname ("package. classname ");
However, if an internal class needs to be loaded, an exception will be thrown if we use this method:
// If such code is
Asp.net MVC is constantly being improved, and nsun. MVC is just written by my hobbies and practical experience.
Most netProgramMembers may not like Java's tedious configuration programming. I have compiled the Asp.net-based MVC Framework nsun. MVC
String Newstr = new String (Oldstr. getbytes (), "UTF-8 "); JavaInStringClasses are encoded according to Unicode.String(Byte [] bytes,StringEncoding) when constructing a string, encoding indicates that the data in bytes is encoded in that way,
A jackson1225 user asked about the architecture and deployment selection of a large Web System in javaeye, hoping to improve the service capabilities of existing Java-based Web applications. Since the architecture mode and deployment are optimized,
I recently learned about Java by myself. I am confused when I see the design of Java check exceptions. Doubt the necessity of using a checkpoint exception. Note: I am currently engaged in. NET development. C # draws on Java in its design. However, C
I think it is inconvenient to process dates in Java. I need to introduce several packages date and simpledateformat or dateformat, And it is inconvenient to set the date. To facilitate date operations, I wrote a class named flexdate, in the class,
The maximum memory supported by JDK varies with operating systems. You can use the following method to test the maximum memory supported by different operating systems.
C:> JAVA-xmxxxxxm (G)-version
XXXX indicates the maximum memory
Thread:Is an independent control unit in a process. The thread is controlling the execution of the process.
Thread Creation
1. inherit from the Thread class. Steps:
1. Define class to inherit from thread.
2. Rewrite the run method in the
Java. util. list has a sublist method to return a part of the view of a list.
List sublist (IntFromindex,IntToindex );
It returns the view of the original list from [fromindex, toindex). The reason is that the view is actually because the
Design your own Annotation Java
Annotation is unfolding in the world of java. If you are free to write this simple annotations article, it is an article about Annotation entry. I hope you can give it a brick, learning Together ......Practice is the
When using MyEclipse to edit jsp, use ". "A prompt box will pop up to call the methods and properties of the class. Then, the status of MyEclipse becomes stuck and cannot be restored, resulting in loss of unsaved data. This article discusses this
Dr. Yan Hong's book "JAVA and patterns" describes the simple factory model as follows:The simple Factory mode is the class creation mode, also called the Static Factory Method mode. The simple factory mode is determined by a factory object to create
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