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 / anjan singh
Whenever you compile a java code, a bytecode is generated
(i.e. class file). This bytecode can be interpreted by JVM.
So any machine with any platform(i.e.OS) that has JVM on it
can interprete this bytecode or class file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How is java created?
How to set the permissions to a file in java?
What is memory leak and how does java handle it?
What do you mean by singleton class in java?
What if static is removed from main method?
Is nan false?
What is the purpose of using break in each case of switch statement?
What is string args [] in java?
Explain about static imports in java?
What is final?
Can we override singleton class?
What is meant by method overriding?
How to instantiate member inner class?
Is void a return type?
Which eclipse is best for java?