Computer Applications
What makes Java Platform Independent?
Java Intro
2 Likes
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
1 Like
Related Questions
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.
"Java compiled code (byte code) can run on all operating systems"
— Name the feature.- Robust and Secure
- Object Oriented
- Platform Independent
- Multithreaded
Applet programming is a feature of which language:
- C
- C++
- Java
- BASIC