I. Purpose
First of all, what we're going to talk about is why learn Java? Knowing the definition of Java, you know why you learn java. Java belongs to a software development tool, so learning Java is to develop software.
Software is the organization of instructions and data in an orderly manner, the development of software is to better organize the two. From here we can draw a conclusion: in Java learning, not only to learn the pure language, but also to learn data-related knowledge points, such as databases, data structures .... Language and data two knowledge points of learning, language to be ranked in front of the data, the language is equivalent to the words, learned the language also learned how to simply write some small programs.
We know that the purpose of learning Java is to develop programs, so what is the purpose of the development program? No matter how the times develop, the original birth of the computer is to help people solve the problem. Therefore, we develop a variety of procedures is to solve the problems encountered in life.
Two. How to learn Java
All kinds of computer language learning in addition to the theoretical explanation, is essential is the machine operation, which is the computer learning compared to other knowledge learning special place. In previous Java learning, we wrote the source code through a simple editor and then ran it in a DOS command-line window. The knowledge points of the various theories will be reflected in the small program, and then through the operation of DOS to check whether the knowledge points learned are mastered.
In my current understanding, learning all kinds of computer language is to deal with the computer directly, the operation on the disk operating system is particularly obvious. So, is there a graphical interface to run the Javac and JVM directly? This is actually not true, Javac and the JVM are command-line operations, so there is no graphical operation to implement the Javac and JVM.
In the process of learning Java, we have to understand the DOS command-line window.
java-Preliminary Understanding 01-Chapter I