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 meant by annotations in java?
Can we extract main method from another class?
When a thread is created and started, what is its initial state?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.
What is orm in java?
Can a dead thread be started again?
Is java a framework?
Name primitive java types.
How can c# app request minimum permissions? : java security
Explain daemon thread.
Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?
What is stateless object in java?
i have client interview in TCS.client is CITI BANK.how to face it,what type of questions they will ask,please tell send me to kumar525job@gmail.com
What is java flatmap?