Static
|
Dynamic
|
Static libraries are compiled into the program itself.
|
Shared libraries are compiled separately and referenced by the program
|
Program size is smaller but shared libraries are required at the runtime.
|
|
Every program has its own static library
|
Shared library has only one copy and referenced by different programs
|
- Libraries donot contain main method.
No comments:
Post a Comment