Answer Posted / glibwaresoftsolutions
You're absolutely right! Java is often described as a platform-independent language due to its use of bytecode. When you compile Java source code, it gets transformed into bytecode (.class files), which can run on any system that has a compatible Java Virtual Machine (JVM) installed.
This architecture allows developers to write code once and run it anywhere, as long as the appropriate JVM is available on the target platform. While the JVM itself is platform-dependent (since it needs to be tailored to the specific operating system), the bytecode remains consistent across platforms, enabling this cross-platform capability. This design is a key reason for Java's popularity in various environments, from web applications to enterprise software.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are methods?
What ide should I use for java?
What does java stand for?
what is singleton in java?
Can we increase array size dynamically in java?
What is the difference between form & report?
Explain different states of a thread in java?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
what is object slice?
Write a program to print 15 random numbers using foreach of java 8?
What’s a deadlock?
Can list have duplicates in java?
What does a method signature consist of?
How to display names of all components in a Container?
Describe 2 different ways to concatenate two strings.