CONTENT QUALITY REQUIRED.............
why java is platform independent????
write a program to design your own game by using BufferReader and InputStreamReader....
Anonymous:
if confussion... both answer are brainlist type
Answers
Answered by
17
Short note on platform independent:
Definition:
Platform independent means Writing code on one platform and executing the code on another platform.
What makes Java different from other technologies:
In c++, When a source code is compiled, It is converted into a .exe file. This .exe file will not be able to run on multiple platforms. That means it is platform dependent.
In Java, When a source code is compiled, it is converted into a .class file. It contains bytecode instructions. This .class file will be able to run on multiple platforms. That means it is platform independent.
Why java is platform independent:
The code which we compile gets converted into a bytecode. It is present in a .class file.The Java virtual machine takes the generated bytecode and then executes the program.
Here are the things you should know about JVM:
(1) JVM Stands for java virtual machine.
(2) It provides Interpreter + JIT(Just-in-time) compiler.
(3) With which we can run Java bytecode by converting them into current OS machine language.
Characteristics of Java - Write Once, Run Everywhere(WORA).
It's not that easy to create a game in java.
Definition:
Platform independent means Writing code on one platform and executing the code on another platform.
What makes Java different from other technologies:
In c++, When a source code is compiled, It is converted into a .exe file. This .exe file will not be able to run on multiple platforms. That means it is platform dependent.
In Java, When a source code is compiled, it is converted into a .class file. It contains bytecode instructions. This .class file will be able to run on multiple platforms. That means it is platform independent.
Why java is platform independent:
The code which we compile gets converted into a bytecode. It is present in a .class file.The Java virtual machine takes the generated bytecode and then executes the program.
Here are the things you should know about JVM:
(1) JVM Stands for java virtual machine.
(2) It provides Interpreter + JIT(Just-in-time) compiler.
(3) With which we can run Java bytecode by converting them into current OS machine language.
Characteristics of Java - Write Once, Run Everywhere(WORA).
It's not that easy to create a game in java.
Answered by
3
Hey!☺️
A programming language or technology is said to be platform independent if and only if which can run on all available operating systems with respect to its development and compilation. (Platform represents Operating System).
Java is a platform independent programming language, Because when you install jdk software on your system then automatically JVM are installed on your system. For every operating system separate JVM is available which is capable to read the .classfile or byte code. When we compile your Java code then .class file is generated by javac compiler these codes are readable by JVM and every operating system have its own JVM so JVM is platform dependent but due to JVM java language is become platform independent
◆Java is platform independent but jvm is platform dependent.
A programming language or technology is said to be platform independent if and only if which can run on all available operating systems with respect to its development and compilation. (Platform represents Operating System).
Java is a platform independent programming language, Because when you install jdk software on your system then automatically JVM are installed on your system. For every operating system separate JVM is available which is capable to read the .classfile or byte code. When we compile your Java code then .class file is generated by javac compiler these codes are readable by JVM and every operating system have its own JVM so JVM is platform dependent but due to JVM java language is become platform independent
◆Java is platform independent but jvm is platform dependent.
Similar questions