20172325 2017-2018-2 "Java Program design" Sixth week study summary textbook study summary
1. Using [] To create an array, the entire column of data can be referenced by the array name, each element in the array can be referenced by its position in the array;
2. The bounds check of an array is declared in advance by the size of the arrays, and once the value entered later exceeds the range automatically terminates;
3. The array is declared in two ways, or int[] grades = int grade[];
4. When an array is created, each string stored in the object array is his own object, and each object in the array must be instantiated.
5. After a formal parameter is established, the main method is called from the command line, and Javac and Java will lose their function.
Problems in teaching materials learning and the solving process
Textbook learning Problems first go to https://shimo.im/doc/1i1gldfsojIFH8Ip/to see, if others did not ask the same question, you can edit the document to add, and then copy their questions to the following:
- Question 1: For the For statement in the example is not very understand "for (int value:list)" In the previous learning process did not mention this statement, do not understand the specific meaning, in this chapter also did not explain
- Problem 1 Solution: Baidu a bit, explain quite a lot of
Professional parlance is called traversing an array, which is understood to mean that after an array has been established, the final output operation will be able to specify each value in the output array.
Problems in code debugging and the resolution process
Question 1: Before actually manipulating the command-line arguments, I don't know what that means, there is a situation
Problem 1 Solution: After reading the book and surfing the Internet, I learned the meaning of the command-line arguments and referenced the relevant data
Issue 2: When editing the PP8.1, the runtime when I entered 51 when the following situation occurred, but the other outside the number is not a problem, the program terminates normally.
- Problem 2 Solution: After a serious discussion between me and Zhang Xu, I found that we PP8.1 edit the bug, that is, "one error", after the definition of the scope of the changes have been successful, of course, the reverse of the 0 value is also a reason.
...
Code Hosting
Last week, the test of the wrong title summary of the pair and mutual Comment review Template:
reviewed the classmates blog and code
Other (sentiment, thinking, etc., optional)
Xxx
Xxx
Learning progress Bar
|
lines of code (new/cumulative) |
Blog Volume (Add/accumulate) |
Learning Time (new/cumulative) |
Important Growth |
Goal |
5000 rows |
30 Articles |
400 hours |
|
First week |
200/200 |
2/2 |
20/20 |
|
Second week |
300/500 |
2/4 |
18/38 |
|
Third week |
500/1000 |
3/7 |
22/60 |
|
Week Four |
300/1300 |
2/9 |
30/90 |
|
Resources
20172325 2017-2018-2 Java programming Sixth week of study summary