20145307 "Java program design" the first week to summarize the learning content of learning materials
There are two ways to first learn to install Java, one is to edit the output directly with eclipse, and the other is to run the virtual machine with win+g open cmd after Notepad. java
In addition, here to add some common DOS commands, after all, want to use CMD, or to master its Directory access method
Dir: List files and folders in the current directory MD: Create directory RD: Delete directory CD: Enter the specified directory CD. : Back to previous level directory cd/: Rollback to root del: Delete file exit: Launch DOS command line
About the IDE: (excerpt learning) the IDE is an acronym for "Integrated development environment" that can assist in developing application software. Software is an application for a program development environment, typically including code editors, compilers, debuggers, and graphical user interface tools. is the integration of code writing functions, analysis functions, compile functions, debug functions and other integrated development software sets. All software or software sets (groups) with this feature can be called Ides. such as Microsoft's VisualStudio series, Borland's C++builder,delphi series and so on. The program can be run independently or in combination with other programs. For example, the basic language is available in Microsoft Office software, and you can write WordBasic programs in Microsoft Word documents. The IDE provides users with the convenience of using modern programming languages such as VisualBasic, Java, and PowerBuilder. Different technical systems have different Ides. For example, can be called C + +, VB, C #, easy language and other languages of the integrated development environment, so can be called the IDE. Similarly, Borland's JBuilder is also an IDE, which is the Java IDE. Zendstudio, EditPlus, UltraEdit these, each with basic coding, debugging functions, so each can be called the IDE.
Error analysis
The syntax of Java and C language is also the difference is to pay attention to the case, system,string, these should be noted, there is a point that was previously edited with Eclipse after saving, and then win+ R turns on Cmd run. Java when there is an error, first with Javac pre-compile, then run out of the program, the code of the package can be deleted after the run, which is now I do not understand the place. I have one more question on the line, the establishment of a abc.java, no attention to the format of the file to adapt to the abc.java.txt, yes, the file becomes a txt text named Abc.java, so the CMD console is not recognized, can not run out.
Experience:
Very interesting, the feeling and C language is completely different, but C language is the foundation, in the early learning, as if the C language of the sentence to change to Java format, and did not learn more about the Java knowledge, the words will definitely have to contact more about Java professional knowledge.
The first week of Java Learning Blog