Weekly summary (h)] [2019.8.19-2019.8.25

    Back to school soon, of this week's report that summarizes the learning JAVA.

    I use tools Eclipse, version MARS.1, version 4.5.0. Reference books are "Java from entry to the master."

    JAVA class structure are the main projects, packages and classes, the current program is written in JAVA I also practice how to use "package", and other similar written in C / C ++ source files and the like. In addition to output statement System.out.println (); Scanner and an input sentence, the other is easier to understand, for example three structures: sequence, selection cycle. JAVA compared with C / C ++, there are many more different types of data, in addition to int, float, double, as well as byte (8 Wei), short (16 Wei), long (64 Wei) (C ++ where I write long long ). When writing floating-point data, if a float, or need suffix F f, double data type can be used without a suffix or D or d. Character data corresponding performance is unicode table, rather than ASCⅡ the table. Boolean written as boolean. Compared identifier than C / C ++, using a dollar sign $.

  When writing JAVA program, I write all the programs currently in must with public static void main (String [] args), this may be the JAVA program in the main function, because I learn not by much, no less than conclusive.

    In addition, written exercises arrays and strings like much, but it is a learning experience in C ++, or very easy to understand, write three structures still need a lot of practice. In the process of reading, I also learned something new packaging, bags and so on, which I have yet to learn, after a period of time I will gradually get to know.

 

Guess you like

Origin www.cnblogs.com/20183711PYD/p/11407423.html