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 happens when you omit a brace or misspell one of the words, like public or
What is lambda expression in mvc?
What services can invoke lambda?
What is difference between map and flatmap in java 8?
Is eclipse a jdk?
What is a java proxy?
What is a dao layer in java?
Is it better to learn java or python?
What is an entity in java?
Why is class forname used in java?
What is jar file in java?
What are the advantages of lambda functions?
How do I know if I have jre or jdk?
What is ioexception in java?
What are the advantages of java 8’s date and time api over old date api and joda time api?