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

Why struts framework is used in java?

0 Answers  


What is a bean class?

0 Answers  


How does java handle integer overflows and underflows?

0 Answers  


What is aop in java?

0 Answers  


What is cmp in java?

0 Answers  


Why do we need framework in java?

0 Answers  


How do I enable java in firefox?

0 Answers  


What kind of thread is the garbage collector thread?

0 Answers  


What is the difference between a jdk and a jvm?

0 Answers  


i have make jar file but when i click in this file then arr swhow "no faund main class" plese help me in this problem becose i want to make a jar file as a dxdcutable file

1 Answers  


Which type of stream is in java?

0 Answers  


what type of java questions asked?

1 Answers  


Categories