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 / seshadri pera
Ranjmella is obsolutely correct for this Question. JVM is
platform dependent but any JVM specific to that OS will run
the compiled .class file on any OS.
.class files are in bytecode it can be run on any platform
which has it's specific JVM installed in that.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can I debug the Java security exceptions and AccessControlExceptions?
What is the structure of java?
What are thread safe functions?
Can a constructor have different name than a class name in java?
What is better- service oriented or batch oriented solutions?
What are the 6 functions?
What language is pass by reference?
What is bom encoding?
Is arraylist ordered in java?
What are three ways in which a thread can enter the waiting state in java programming?
Can we overload final method in java?
What is difference between length and length() method in java ?
what is difference betweem home interface and remote interface?
What is fail first in java?
Explain about sets?