Advanced Java/Dependency
In Java, a dependency is a package requirement for your program.
If you restrict yourself only to code within your program, then you can construct a JAR file with all the necessary code. However, if you code requires a third-party library (e.g. an improved widget interface), it will not be included in the JAR file simply by compiling your code.