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
[Java iO] _ byte-character conversion stream notes
Objectives of this chapter:Measure the test taker's knowledge about the functions of outputstreamwriter and inputstreamreader.
Outputstreamwriter and intputstreamreader
Inputstream and
In Java, char occupies 2 characters, because it is unicode encoded Java simple data type simple type size range/precision float 4 bytes 32-bit IEEE 754 single precision double 8 bytes 64-bit IEEE 754 Double Precision byte 1 byte-128 to 127 short 2
Method 1: Use the reverse () method of the stringbuilder class
Public class test {Public static void main (string [] ARGs ){String STR = "ABC ";String restr = new stringbuilder (STR). Reverse (). tostring (); // reverse using the reverse () method
[Java reflection mechanism] _ notes for using the class
Objectives of this chapter:You can use the class to instantiate an object.You can use the constructor class to call a constructor with parameters to instantiate an object.
Details:Class is the
On the Internet, I think it is very useful to see the implementation of a one-dimensional linear regression written in Java. Some enterprises are not using data mining. Is it a function to predict operating income? A linear regression algorithm is
By default, the code prompt function of eclipse is much worse than that of microsoftvisualstudio. The main reason is that eclipse has many options that are disabled by default, and developers must manually configure them. If the developer is not
In the process of software development, the annotation specification is always emphasized, but there is no specific standard to describe, usually a few simple statements in the code writing specification, it cannot be used as a standard and basis
When talking about Java, we have to talk about Java's excellent portability, which is basically the biggest boast of Java. Once compiled, it runs everywhere. All of Java's operations come from its running method-managed by JVM (Java Virtual Machine.
First, let's take a look at the relationship between them.
Collection InterfaceObject setShortlist Sub-interface Save in sequenceRepeatable│ Invalid parameter list Interface implementation classLinked
For example, if the Sub-thread runs for 10 times and the main thread runs for 100 times, how to design
Public class threadcommunication {
Public static void main (string [] ARGs ){
Final output = new output ();
// SubthreadNew thread (New runnable ()
For page monitoring, Ajax requests are used in the past, but small concurrency is not a big problem, but it is not suitable for large concurrency, if you don't want to write the thread to manipulate it, you can find some plug-ins, such as
To use a Linux Command, you must first obtain the root user. Remember to add busybox when executing the command. Generally, the basic method of Java I/O cannot place the file into a USB file. You can use Linux commands.
Processbuilder Pb = new
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
Java FAQ series (v) -- has the value passed or the reference passed?
Variable types in Java:
Basic type variables: including char, byte, short, Int, long, float, double, and Boolean.Reference type variables include classes, interfaces, and arrays (
On Android, If you directly use dalivik to load framework. jar, you will find that most of the native methods in it are not available. At the same time, you cannot find dalvikvm in/init. RC. There is no dalvikvm in the ps list. So how does Android
Several references in Java
Java has several different reference methods: strong reference, soft reference, weak reference, and virtual reference. Next, we will first have a detailed understanding of the significance of these reference
If you 've spent any time writing unit tests then you'll know that it's not always straight-forward. certain things are inherently hard to test. in this post I'll show you the basic principles of creating mock objects with a little help from the
After reading sun Xin's video, I made a small Summary of classes, methods, and variable modifiers in Java;
Public
Private
Protected
Default)
Explanation:
Can be called in any class
It can be called only in the
Basic Q &
1. Which of the following classes can be inherited?
Java. Lang. Thread (t)Java. Lang. Number (t)Java. Lang. Double (f)Java. Lang. Math (f)Java. Lang. Void (f)Java. Lang. Class (f)Java. Lang. classloader (t)
2. Differences between
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