20145123 Liu Senming "Java programming" the second week study summary

Source: Internet
Author: User
Summary of learning contents of textbook

The knowledge learned in this chapter has been studied in the previous C language. So learn to be more relaxed. It is mainly about the types and operators of data and variables, and the knowledge points of process control.

Problems in teaching materials learning and the solving process

This week spends more time on Java. First, in the Java language, although the syntax of the Java language has been known before, there are problems with specific details. For the difference between the output function System.out.printf () and Syetem.out.println (), after reading the book learned that the Syetem.out.println () function will be wrapped after compiling, in the first chapter of "Hello World" This function is used, and System.out.printf () output text will not wrap, is the standard API

Reading also know some of the commonly used format of the control symbols, before the compile time can not accurately distinguish the differences between these symbols. For example,%d for decimal integer format output,%f in decimal floating-point format output,%e with scientific notation floating point output and so on.

Finally there is a question about the knowledge of the Type conversion section in reading. Where the expression includes different types, the operation will be the longest type, for example, short a=1 long b=2 int c=a+b, there will be the problem of loss of precision. At first it was messy, not very well understood, and there were problems with the two solutions to the loss of precision. Later, according to the method of operation of the book, with the computer for a simple operation mastered the corresponding knowledge.

Problems in code debugging and the resolution process

It is the problem of overflow when given to variables or inputs, and the solution is to change the definition type to a larger scope.

Other (sentiment, thinking, etc., optional)

Still need to practice more, after all, the foundation of the beginning is the most important.

Learning progress Bar

| Target | 4000 Rows | 30 Articles | 400 hours | |

| First week | 100 | 2 | 5h|

| Second week | 230 | 3 | 15h|

20145123 Liu Senming "Java programming" the second week study summary

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.