First time on the computer class, give me the first impression is very chaotic, people like a born baby just do not understand anything. The first time on the machine of tension and ignorance is most of our time in the inquiry and exploration, so, and not very good to learn the Java program editing and running. Of course, most of the time we are in the dorm to do their own procedures, but most of the time will not take too long to play the program. This experiment is the second chapter of the knowledge of the understanding and use, in the process of writing industry I found that many of the books on the knowledge point a little change can be written in the program. For example, the program of Experiment one is about co-compiling, just typing the code in the book, Typing System.out.println () in the place where the code is written, and entering the contents in parentheses is done.
Experiment two is the output of the Greek alphabet, basically like the form of experimental one, just to learn the essence of data conversion, that is, when the low-level variable into a high-level variable, belong to the automatic upgrade only need to directly assign value. The conversion type is displayed when the high level is converted to a low level. Experiment three is to input data from the keyboard operation, need to import the statement imported Java.util.Scanner, and then use the Scanner class to create an object. Scanner reader=new Scanner (system.in); For example code one from the keyboard to amount assignment, Amount=reader.nextint (); Next is the type of the variable, with the first letter capitalized.
Basically the second chapter of the experimental content is these, need to grasp the things are not many, but I think is very basic, to integrate things, can not forget.
Java first time on-machine impressions