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!



What is the difference between Object Code and ByteCode? Why do people keep saying that bytecode..

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

Post New Answer

More Java Related AllOther Interview Questions

What is cloning in java?

0 Answers  


How do you type the lambda symbol?

0 Answers  


I run a web server. Am I at risk? : java security

0 Answers  


What is the most important feature of java?

0 Answers  


Describe life cycle of thread?

0 Answers  






What are all the documents have you involved in preparation of a Project as a Project Lead?

2 Answers  


What is java api?

0 Answers  


What is the point of lambda expressions?

0 Answers  


Explain working of java virtual machine (jvm)?

0 Answers  


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?

0 Answers  


Do I need both jdk and jre?

0 Answers  


Why sun introduce concept of anonymous class? What is need and real life use of anonymous class

0 Answers  


Categories