201671010111 2016-2017-2 "Java programming" and look at Java

Source: Internet
Author: User

This week has been the second week of Learning Java, and the course has progressed to chapter three. So we have a rough idea of java. Its syntax is similar to the C language, but it is different from the C language. Similar to the C language, there are many places that are superior to the C language. Finally understand the first chapter of the textbook that Java is a good programmer's preferred language, as a good programmer, using Java is undoubtedly a good choice.

The teacher began to reverse the classroom teaching method, a theory class divided into the previous hour and the next hour. The first hour is used for testing, and the next hour is the time to explain the problems. The topic is the teacher covers the first three chapters of knowledge out, detected the first three chapters all the important points of knowledge. At the sight of these topics, there is a contradiction inside. It seems that four options can be all right, and none of them seems to be the right answer. Always think the answer is specious, it is difficult to make an answer. In the final analysis, it is because we have not mastered these knowledge points enough to form a knowledge system and logical thinking way.

In the first chapter to understand the Java programming, the second chapter of the Java programming environment, the third chapter into the Java Grammar Knowledge learning. This chapter briefly describes the Java should be shipped program, including its annotations, variables, operators, strings, as well as simple input and output statement level and process control, and the same array in the C language.

Java has??、? * and *?、? * * and * Three kinds of annotation methods. There are eight basic types, integer classes: int, short, long, byte. Float type: float, double. Character type: char. Boolean type: Boolean. Java's Process control is conditional, cyclic, and interrupted. A conditional statement has an IF statement, a switch statement. A looping statement has a while statement, a do-while statement, and a for statement.       The interrupt statement has a Contin statement that ends the loop and a break statement that ends the entire loop. Then our task will be to consolidate Java and C language in the same place, learning Java is different from the C language.

201671010111 2016-2017-2 "Java programming" and look at Java

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.