How java is platform independent?
Answer Posted / sandeep chauhan
the program is written in any language is called the source
program.and after compilation source code we get the object
code.so in java the source program is in ".java" file.when
this is compiled the object code will be in the ".class"
file.and this object code is bytecode.and this is is not
executable directly by any machine or o.s. so there will be
java virtual machine(jvm) which is an interpreter and
interpret the compiled object code into machine
understandable language.and which is executable for
machine.but every machine have its own jvm.and so this
bytecode can be executed in any machine according to there
jvm.so java is plateform independent language.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.
Why should we use singleton pattern instead of static class?
How are multiple inheritances done in Java?
What are wrapped classes in java programming?
Which software is used for java programming?
What is == and === in javascript?
Which package has light weight components?
What is a singleton factory?
when should you use stringbuilder class in a program?
How is string stored in java?
how to convert Java project into Maven ?
Why runnable interface is used in java?
Can interface be private in java?
List some features of the abstract class.
Can we create more than one object singleton class?