what is bytecode ?explain in detail and watz the difference
between bytecode and machine code?
Answer Posted / dheeraj shandilya
Byte code is a lower-level, platform-independent
representation of source code.Roughly, Python translates
each of source statements into a group of byte code
instructions by decomposing them into individual steps.
This byte code translation is performed to speed execution—
byte code can be run much more quickly than the original
source code statements in text file.
Machine code or machine language is a system of impartible
instructions executed directly by a computer's central
processing unit(cpu).
In case of bytecode in python we dont use cpu.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is compareto () in java?
What is singleton class and how can we make a class singleton?
What is the difference between stringbuffer and stringbuilder class?
What is string :: npos?
What are loops in java?
List the different types of classloaders in java.
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)
What is connection class in java?
How to connect to a remote database using Applet?
What is the function of static in java?
In case of inheritance what is the execution order of constructor and destructor?
What is set in java?
Why packages are used?
Can we print null in java?
What is command line argument in java?