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
What do you understand by java?
How do you pass by reference?
Can you give few examples of final classes defined in java api?
Explain the importance of finalize() method.
Why chararray() is preferred over string to store the password?
What is computer compiler?
What is object english?
Why hashmap is used in java?
What do you mean by platform independence? What is an interface?
How do you sort a string in alphabetical order in java?
What is close method? How it's different from Finalize & Dispose?
Is oracle java 11 free?
What are constructors in java?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
What is a "pure virtual" member function?