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
Compare Mutex and Semaphore in java.
Can a final variable be null?
Can I declare a class as private?
What are the different conditional statements?
What are the disadvantages of object oriented programming?
Is null a keyword in java?
What is jdbc api?
How variables are stored in memory?
Explain the term virtual machine?
What are the types of inner classes (non-static nested class) used in java?
What is a hashmap used for?
Is constructor inherited?
How many bits is size_t?
Why singleton is not thread safe?
Can we declare a class as static?