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
Difference between this() and super() ?
what is thread? : Java thread
Can we extend a class with private constructor?
what is ststic with example
How many bytes is double?
Is map ordered in java?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
Explain about collection interface in java?
Explain the features of interfaces in java?
What is logical variable?
Define Multiprogramming and Multiprocessing in java.
What is charat java?
What is multiple inheritance? Is it supported by java?
What is the difference between abstraction and encapsulation?
What is the purpose of static methods and variables?