Once write run every where ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Once write run every where ?

once we write we can use that program any where how

1st Mar 2018, 5:10 PM
Sheroth
Sheroth - avatar
1 Answer
+ 10
well Java is portable , means that you can run Java bytecode on any hardware that has a compliant JVM (Java Virtual Machine). Java is execute in byte codes which is able to interact with Any hardware The Java Compiler compiles a java program (.java file) and converts it into class files (.class) that contain bytecodes , which is the intermediate language between source code and machine code . These bytecodes are not platform specific, so with the help of JVM (Java virtual machine), the java program can run on wide variety of platforms. The JVM (Java virtual machine) is platform dependent i.e its implementation differs from platform to platform (like windows, linux atc.), but these all JVMs can execute the same javabytecode .
1st Mar 2018, 5:36 PM
GAWEN STEASY
GAWEN STEASY - avatar