In this chapter, we’ll cover the basic syntax of Java and similar languages.
Coding Terms
Source file refers to human-readable code. Binary file refers to computer-readable code (the compiled code). In Java, this binary code is called bytecode which is read by the Java Virtual Machine (JVM) .
In Java, the source files end with .java, and binary files end with .class (also called class files). You compile source files using a compiler, which gives you binary files or bytecode.
In Java, the compiler is called javac; in Groovy it is groovyc; and it is scalac in Scala (see a trend here?). All three of these ...