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
What is use of functional interface in java 8? Explain
what are the methods in object?
Why parsing is done?
Explain the difference between intermediate and terminal operations in java8?
What do you understand by java?
What is string in java is it a data type?
What is ph and buffers?
What is method with example?
What are the advantages of assembly language?
Explain different ways of creating a thread?
Difference between operator overloading and function overloading
What kind of variables a class can consist of?
Can we define constructor in inner class?
Describe different states of a thread.
Which is better 64 bit or 32 bit?