+ 4
What is difference between .jar and bytecode
4 Antworten
+ 8
bytecode is generate when java source code is compiled and byte code is platform independent, compiled byte code can run on any platform where jar or executable file which are platform dependent and after completing code that file are made/ given to end user.
+ 2
Bytecode is the machine code to be run on the JVM, whereas a jar file is just an archive of Bytecode and optional source code
+ 1
byte codes are intermediate representation of your code which is generated by Java compiler. this can be understood only by Java compiler and can't be execute anywhere. where as jar is generated in order to deploy the written code. jar contains class files and its used for deploying the application.
- 1
byte code is by java