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
Why null value is used in string?
define the terminology association.
What is definition and declaration?
What is the difference between an interface and an abstract class?
Explain the selection sort algorithm and state its time complexity?
What are the six ways to use this keyword?
can I implement my own start() method? : Java thread
What about main thread in java?
What is mysql driver class name?
Is java still necessary?
What is a class reference?
What is meant by tab pans?
What does java stand for?
What is extension method in java?
How to declare objects of a class ?