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
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
What is a protected void?
What is == in java?
What is the benefit of inner classes in java?
Does a function need a return?
What is a parameter in matrices?
What is core java called?
What are facelets templates?
Compare java and python.
Which is illegal identifier in java?
What are the advantages of unicode?
What is nan in java?
Can a constructor be protected?
How to sort numbers in java without array?
Can you use abstract and final both with a method?