Computer Applications
What makes Java Platform Independent?
Java Intro
1 Like
Answer
Byte Code & JVM
Reason — Java's platform independence is due to Bytecode and JVM:
- Bytecode — Java programs are compiled into an intermediate code called Bytecode using the Java compiler. Bytecode is platform-independent and can run on any machine.
- Java Virtual Machine (JVM): — The JVM is platform-specific software that interprets or compiles Bytecode into native machine code for the underlying operating system. This allows the same Bytecode to run on any platform making Java platform independent.
Answered By
2 Likes
Related Questions
Fill in the blanks:
In Java, the package used to find the smallest of two numbers is _________.
Java is such a programming language which allows creating logic using simple statements. It is also focused on web designing and string manipulation system even without calling default package.
Based on the above discussion, following are some of the features or terms described. Now, answer these questions:
(a) It is a Java program that is executed using Java based web browser.
(b) It is a Windows based platform for Java programming.
(c) It is a default package of Java programming.
(d) It is the executable code suitable to a specific platform, converted from Java source code.
What does the below illustration depict in Java?

- Name of a bird
- DOS based platform for Java programming
- Window based platform for Java programming
- A web browser to execute Java programs
The extension of a Java source code file is:
- exe
- obj
- jvm
- java