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
Can we restart a thread already started in java?
Why java is called not pure object oriented language?
What is bubble sorting in java?
What does java final mean?
Why singleton class is used in java?
How do you insert a line break?
What is main difference between variable and constant?
Where is const variable stored?
Explain about features of local inner class?
Why chararray() is preferred over string to store the password?
Why is java so popular?
Differentiate between a constructor and a method? Can we mark constructors final?
Explain the reason behind ending a program with a system.exit(0)?
How do generics work?
How can we create a synchronized collection from given collection?