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
Is arraylist ordered in java?
Is math class static in java?
How do you initialize an arraylist in java?
How do generics work?
What do you understand by java virtual machine?
What is java reflection api?
Explain jvm, jre, and jdk?
Can we define constructor in inner class?
What is are packages?
What are the kinds of polymorphism?
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
Is array a class in java?
What is use of map in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
Define canvas?