Holiday week progress report five (7.29.-8.4)

A . Most of the time this week spent on these areas

1. Look java reference e-books

2. Write B report

3. Read the classic book "Road to Jane."

In addition to writing daily reports about two hours learning about one hour of time we will see java e-books, classic look with the rest of the books

Two . This week harvest

1. the Java language

First, recognize java keywords and an identifier;

Second, grasp the constants and variables;

Third, the learning data type;

Fourth, the master JAVA basic language grammar specification; sequence, selection, loop sentence structure; JAVA input output statement sentence;

1. identified by any order of the letters, underscores, dollar signs and numbers, but the first character can not be a number.

2. Statement float and double time type : float a = 3.14f / F double a = 3.1415d / D;

Without letters default to double type

3.Java constant defines the   final double PI = 3.1415926D; as defined final variables belonging to " member variables " , it must be given to its initial value when setting

4. variables defined in the class body member variables are called, member variables are valid in the whole class. Class member variables are divided into static and instance variables.

5. define local variable with the same name as a member variable, when the member variable with the same name is hidden

public class Val{

static int times=3;

public static void main(String[] args){

etc. times = 4

System.out.println(times)

}

}     Result 4

6.Java the assignment operator can be used together x = y = z = 6

7. When an integer is assigned to a byte, short, int, long time variable, the variable must not exceed the range, you would otherwise have to be cast. byte b = (byte) 129;

Three . Challenges:

  1. In the PTA made the subject of the process ,

Four . Experiences:

        Topic analysis first hand how to write, Dahua small, step by step to achieve the corresponding function, the function blocks connected in series to achieve questions asked,

Five . Next week plan:

       Di First, continue to collate reports holidays B;

       Di Second, continue to learn java

Guess you like

Origin www.cnblogs.com/xp-thebest/p/11297807.html