Why Java is a platform independent language?
Answer Posted / nikhlesh gupta datia(m.p.)
The compiler converts source code file into bytecode files. These codes are machine independent and can be run on any machine. Java interpreter reads the bytecode files and translates them into machine code for the specific machine on which the Java program in running.
| Is This Answer Correct ? | 252 Yes | 12 No |
Post New Answer View All Answers
Can we create constructor in abstract class ?
Explain features of interfaces in java?
Explain about instanceof operator in java?
how to create constants in java?
How do you sort in ascending order in java?
Are primitives objects?
Can inner class have constructor?
What is the public method modifier?
What is singletonlist in java?
why are wait(), notify() and notifyall() methods defined in the object class? : Java thread
Can we use both this () and super () in a constructor?
How can you traverse a linked list in java?
What is %d in printf?
What is busy spin, and why should you use it?
Why Java doesn’t support multiple inheritance?