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 / 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 |
I get an exception if I remove the static modifier from main?
What is the locale class?
What is cookie in java?
What is default constructor in java?
Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.
What are jpa annotations?
What is the use of entity class in java?
Differences between intermediate operations and terminal operations of java 8’s stream api?
Is java singleton thread safe?
What is scrollable resultset in java?
What is lazy loading in jpa?
what is the function of OS