How java is platform independent?
Answer Posted / meer
Java is platform indepent because when java compiler
compiles the java program, it does not directly convert the
code into host machine specific instruction as other
programming language compilers do, instead it creates a
bytecode which is a intermediate language code generated
for the virtual machine which can run on any platform.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Tell me how many ways are there to initialise an integer with a constant.
what is an objects lock and which objects have locks? : Java thread
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
What is a line separator in java?
Is nan false?
Why do we need hashmap in java?
Can we override the static method?
Why we cannot override static method?
What is mysql driver class name?
When do we need to use internal iteration? When do we need to use external iteration?
What is the final keyword?
What is difference between iterator access and index access?
how would you implement a thread pool? : Java thread
Why do we need singleton class?
How many types of the indexof method are there for strings?