.
If you are unsure of the use of a class or function, consult the API first instead of posting for help.
When you are familiar with Java, you can consider changing an IDE. A lot of people recommend JCreator, actually the function of JCreator is still very weak.
The author recommends eclipse, download URL http://www.eclipse.org. Because the Eclispe is free.
4 Learning Java What are the good referenc
JAVA basics: A Brief Analysis of Several Common Errors in JAVA-Linux general technology-Linux programming and kernel information. The following is a detailed description.
1. Null Pointer Error java. lang. NullPointerException
?? When the basic JAVA data type is used, the v
an instance object. The following is a employeetest class that instantiates an instance of 2 Employee classes and invokes a method to set the value of a variable. Note Save the file as Employeetest.java.Employeetest.java File Code:ImportJava.io.*; Public classemployeetest{ Public Static voidMain (String args[]) {/*create two objects using the constructor*/Employee Empone=NewEmployee ("RUNOOB1"); Employee Emptwo=NewEmployee ("RUNOOB2"); //call the member methods of both objectsEmpone.empage (26)
Java BASICS (1): Java webjava
1. Java Overview
JavaEE refers to Java Enterprise Edition and Java Enterprise Edition, which are mostly used for Enterprise-level development, including web development. It is also called J2EE.
JavaSE
and sorting" is put at the end of the article. In this way, the deep blue section below is the part I translated, all introductions are complete.
Zzwu is located in shishe, Fudan University,-1.
Email: zzwoo@126.com.
Original book directory and page number of each part
(Full directory. Only 8-14 sections are translated)
(The 12 sections are further divided into seven sections, which are made in the original book
Java basics: whether to pass the value or reference-Linux general technology-Linux programming and kernel information. The following is a detailed description.
1. Simple types are passed by value
When Java method parameters are of simple type, they are passed by value ). This can be illustrated through a simple example:
/* Example 1 */
/**
* @ (#) Test.
Author: Li xucheng, blog: http://blog.csdn.net/javaeeteacherThe Java basics mentioned here refer to the content that you should master most when learning Java. Basic skills required for desktop development, network development, web development, and enterprise-level development. It includes the following aspects: Basic Java
[Java object-oriented BASICS (I)] data types and operators, java object-oriented[Meow "Android path] [BASICS (1)] [Java object-oriented Basics] data types and operators 1. Data Types in Java
Java basics --- string, java --- string
1. Concept of Character Creation
A java string is a Unicode Character Sequence. For example, the string "Java \ u2122" consists of five Unicode characters J, a, v, a, and TM. Java does not h
Java basics-serialization and java serialization
1. java serialization
When two processes perform remote communication, they can send different types of data to each other. Regardless of the type of data, it is transmitted in binary sequence. The sender needs to convert the Java
JAVA basics: quot; Exception Mechanism quot; in Java in-depth study-Linux general technology-Linux programming and kernel information. The following is a detailed description. This article aims to explore the deep principles of Java "exception mechanism", so the usage of "exception" is not described in detail. First,
individual threads.There is a possibility that an oom exception will occur in these memory areas.Thread level
Program counter: Each thread will have a program counter, this in debug when the track to go to which step. The program counters use very little memory, and this part does not produce OOM exceptions!
Java Virtual machine stack: As the name implies, the Java Virtual machine stack is in
In the previous blog post, the basics of Java practice (I) Java language features we introduced several features of the Java language. Today we will introduce the composition of the Java language.The so-called Java composition mai
Java basics-knowledge about jar packages, Java jar packages
Before learning the jar package, you must first understand the Java package and related concepts about the Java package.
I. Package
Java provides a package mechanism to b
JAVA basics: Let's talk about how to use enumeration in Java-general Linux technology-Linux programming and kernel information. The following is a detailed description. Programmers from C ++ to Java always complained a lot at the beginning, but not enumeration is a very prominent problem. Why does
Java basics-encapsulation and java Encapsulation
I recently learned about Java object-oriented knowledge, but I haven't had time to update my blog, because this knowledge point is really around. It takes me a whole day to differentiate constructors and methods. Now I want to repeat the knowledge point again.
First, we
JAVA basics-common classes that must be understood in JavaCommon classes that must be understood in Java I. Packaging classes
I believe that you are familiar with basic data types, such as int, float, double, boolean, and char. Basic data types do not have the characteristics of objects. For example, basic data types cannot call methods and have simple functions
method of the Runnable interface. The author of the Java programming idea wrote in the book that the naming of the Runnable interface is inaccurate, and that task is more appropriate. The class that implements the interface, indicates that the class can run in parallel running method, that is, run statement execution is not continuous, it is likely to T1 time to execute the first one, T3 time to execute th
spaces the default initialization value is NULL.
Acquisition of the length of a two-dimensional array:
The length of the two-dimensional array is obtained by arr.length, and the number of one-dimensional arrays in the two-dimensional array is obtained. Such as:
int [] arr = new int[3][2];
The value of Arr.length is 3.
Arr[0].length gets the length of the first one-dimensional array.
By the world is my bed
-------------------------------------------------------------
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.