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
What is the abstraction?
What is loop in java?
What are the differences between wait() and sleep()?
Can we make constructors static?
What is singleton class in ruby?
What is floating data type?
What is private public protected in java?
What is meant by data hiding in java?
How does singleton class work?
What is the final method?
What is the difference between integer parseint and integer valueof?
What does next mean in java?
Can we call thread start () twice?
What is the purpose of abstract class?
Explain java heap space and garbage collection?