What is the difference between Object Code and ByteCode?
Why do people keep saying that bytecode is like the
intermediate of source and object code?
Also, which is better/commonly used and why?
Please keep in mind that I am a beginner, please keep all
terminology fairly simple. Thanks!
Answer Posted / harika.thota001@gmail.com
If it is a object Code, it can be interpreted only by the OS(Operating System) by which the object code is compiled.
If it is a Byte Code, it can be interpreted by any OS. For Example, even though the Byte Code is interpreted by Windows OS we can run the code in any other OS
C emerges Object Code. Java is a Byte Code
People keep saying that bytecode is like the intermediate of source and object code because...bytecode runs on JVM which is like an intermediate to make it compatible to any OS which inturn made JAVA a platform independent.
bytecode is more commonly used.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is jersey in java?
What is a stream in programming?
What's the difference between local, global and universal groups? : java security
What is type inference? Is type inference available in older versions like java 7 and before 7 or it is available only in java se 8?
what are the different phases in delivering the project during development and maintenance?
Can you compile java into exe?
What is jboss in java?
What is hql in java?
What is the use of flatmap?
What is the first argument of the string array in main method?
What is the difference between Logical Parallelism and Physical Parallelism?
What is difference between loosely coupled and tightly coupled in java?
What is csrf in java?
What are the benefits of a jar file?
Is openjdk the same as jdk?