After compilation of java program we'll get .class code. If
it's generated in OS Windows XP will it work on OS Linux? If
yes why? If no why?
Answer Posted / rajmallela
Java is platform independent. but JVM is not platform independent .it is platform dependent.Each O.S has its own JVM
That JVM can understand .class file irrespective of the O.S from which it(.class file) is coming . So widows generated .class file will work in Linux O.S.(b/z Linux JVM can understand .class file obviously)
| Is This Answer Correct ? | 22 Yes | 1 No |
Post New Answer View All Answers
What do you mean by byte code?
What are the important features of Java 10 release?
What is the concatenation operator in java?
What does localhost mean?
How does singleton class work?
What do you understand by java virtual machine?
What is a class variable?
Explain the difference between jvm and jre?
How does java enable high performance?
What is the difference between choice and list?
Is oracle java 11 free?
Explain access specifiers?
what is a green thread? : Java thread
Is static variable stored in heap?
What is fail fast in java?