How java is platform independent?
Answer Posted / chandra sekhar dash
Java compiler compiles the source code into bytecodes. These
bytecodes are platform independant i.e. in other words
specific to the Java Virtual Machine specification. This
enables platform independant compilation.
When the bytecode compiled programs are executed through the
Java interpeter, it converts those bytecodes into native
machine code and executes them through the JVM which is
specific to host environment it is running on. This enables
platform specific execution.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Which package is used for pattern matching with regular expressions?
What are the fileinputstream and fileoutputstream?
What are the legal operands of the instanceof operator?
What is the symbol for average?
What are the important methods of java exception class?
What is keyword auto for?
What is floor math?
How can you write a loop indefinitely in java programming?
Java is pass by value or pass by reference? Explain
Write java program to reverse string without using api?
What are computer functions?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What is thread life cycle in java?
How many techniques can be employed to create a string object?
Give a practical example of singleton class usage?