Linker, object file, executable file
Linker - It is a software accept object file one of its input and links with requires library files.
There are two types of linker
1. Linkage editor
2. Linking loader
1. Linkage editor It produce an executable file and stores it in hard disk.
2. Linking loader It will directly load executable image on the ram.
Object File -
There are two types of linker
1. Linkage editor
2. Linking loader
1. Linkage editor It produce an executable file and stores it in hard disk.
2. Linking loader It will directly load executable image on the ram.
Object File -
- It can't be executed.
- It is incomplete file.
- It occupies less memory.
- Output of compiler.
Executable File
- It can be executed.
- It is complete file.
- It occupies more memory.
- Output by linkage editor
Note
- Java compiler accepts high level java program as input and converts it to intermediate level code.
- Intermediate level code is such a code which is neither in high level nor in machine level.
- Intermediate level code is also called as byte code.
- JVM is a software which converts byte code to machine level code.
- Byte codes are placed inside a file called as class file.