Professional Documents
Culture Documents
CHAPTER-2
INTRODUCTION TO JAVA
PART-2
Compilation Process:
Traditional Compilation Process:
In this type of compilation process, the source code(i.e. the code written in
high level ;language by the programmer) is converted directly into machine
code by the compiler at the time of compilation .
javac: It is the java compiler used for translating source code to byte
code.
java: It is the java interpreter used for running Java applications and
Applets.
jdb: It is a Java debugger used for finding eroors and removing them.
Note: When we save our java program then a “.java” extension file is
created and after compilation (with the help of javac) another file with
same name but with “.class” extension get created (this is the
executable file or byte code file).