can .jar files work as .class files? code example Example: create a JAR file containing the class file jar cvf jar_name.jar class_you_want_in_jar.class