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 / seshadri pera
Ranjmella is obsolutely correct for this Question. JVM is
platform dependent but any JVM specific to that OS will run
the compiled .class file on any OS.
.class files are in bytecode it can be run on any platform
which has it's specific JVM installed in that.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is struts in java?
What is the access scope of a protected method?
How to sort an array in java without using sort method?
Can we have two main methods in a java class?
How many types of keywords are there?
Can a method be overloaded based on different return type but same argument type?
What are data types in programming?
If a class is declared without any access modifiers, where can the class be accessed?
What are the two categories of data types in the java programming language?
What about instanceof operator in java?
Can a class extends itself in java?
What is procedure writing?
What are streams in java 8?
How do you create a first line indent?
What is prime number in java?