From school to now is the second week to learn the new language of Java, from the beginning of complete unfamiliar to now slowly understand its many basic knowledge. Take the identifier for it! and C language has the same and different, the Java identifier is underlined by the letter, the most special is it also has the dollar sign, the number is composed, the first symbol can not be a number, the identifier can be used as the class name, variable name, method name, the name of the array name, etc., the keyword cannot do variable names, such as common class Public, try catch if float import void, and so on.
Java it is a strongly typed language, so each variable must declare one as a type. When declaring a variable, the type to which the variable belongs is before the variable name. In Java, the keyword final is used to indicate a constant, in which case the constant name is used in uppercase. The case requirements in Java are very strict. The keyword final can only assign a value once to a variable and cannot be changed once it is set. The constant result of a Boolean type is represented by true and false, in Java, where a Boolean value and an integer cannot be converted to each other. Conditional quotations have two types of IF statements and switch statements. For the third chapter of the textbook on a total of 60 pages of all the thorough understanding of the content has not been fully achieved, the teacher's courseware downloaded their own more to see more learning but still some difficulty, in the last semester of C language learning some basic knowledge is not strong enough to see and learn more, spend more time and energy in Java learning.
201671010110 2016-2017 2 "Java Programming"