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
Where to store local variables?
What do you mean by multithreaded program?
Why java is not 100% object-oriented?
What about anonymous inner classes in java?
Is 0 true or is 1 true?
What is the locale class in java programming?
What is the argument in java?
What’s meant by anonymous class?
What is the effect of keeping a constructor private?
How is abstraction implemented in java ?
What is the use of list in java?
What is tree node in java?
How do you implement singleton class?
What is methods and methodology?
Which package is always imported by default?