Camp
When people know things, they like to label, classify, and row the camp. The more you experience, the more it will be.
This is not exactly a bad thing, at least you can compare things to a comparison, induction.
What kind of language is Java?
First of all, she is a high-level language. This is in comparison with the machine language, the assembly language.
In other words, she is mainly to facilitate people's understanding and reading, is not the priority of machine execution efficiency.
Second, we always like to classify high-level languages as "compiled" and "interpreted". For example, C is a compiled type:
Because we need to first use the compiler to convert the source code to machine-readable executable code, and then go to execute.
Note that this executable code is closely related to the machine and the operating system. Windows executable program, get on the Apple computer, simply can't run.
For example, Python is an explanatory type, also known as a "scripting language".
Python source code does not need to compile, but when the need to execute, with the interpreter side of the execution, which of course, it will be a bit slow, but gain a strong dynamic ability.
What about Java? Both are not.
Java uses a more trendy approach at the time (not surprisingly today, of course):
Instead of completely compiling the source code, she compiles it halfway up the hill to form an ideal or imaginary machine.
Because this machine is hypothetical, there is no difference between hardware and software such as Windows, Linux, or x86, power PCs, and so on.
This imaginary machine, on different real machines, can be simulated by different software. It's called "The Machine."
Getting Started with Java (1)--Introduction