Progress Report IV holiday week (7.22-7.28)

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

1. Look java reference e-books

2. Make PTA topic

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

Every day in addition to writing PTA about 1.5 hours of learning about one hour of time will see java e-books, classic look with the rest of the books and so on.

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 the basic language of the grammar specification; sequence, selection, loop sentence structure; the 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 letter default 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:

In the PTA made the subject of the process , encountered some questions about the array of characters, and there are some new functions use is not very good, such as the case of c ++ library functions provide conversion functions, etc.

Four . Experiences:

        This question should first analyze the topic at hand you do, the function Dahua small, step by step to achieve the corresponding function, the function blocks together, and to achieve further questions asked, when learning a new programming language, you can go online to see where ever before to see learn from similarities and differences in language, in particular to learn.

Five . Next week plan:

       Di First, continue to organize holiday report B;

       Di Second, continue to learn java

       Third, learn modeling language

 

Guess you like

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