JAR (Java archive) files are commonly being used by Java developers. JAR file is a deployable package comprising of number of class files and other resources. One benefit is that JAR file uses compression algorithms to reduce the overall size.
Now suppose we have a Java project in Eclipse called Resources. It comprices of 2 classes Student and Teacher.