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 is a parameter used for?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
What is the disadvantage of java?
What is meant by singleton class?
What is keyset in java?
Can an abstract class be a final class?
What is difference between Heap and Stack Memory?
How strings are created in java?
Define interface in java?
What do you mean by pointer value and address?
What data structures are used to perform recursion?
What is the += operator called?
Why java is a platform independent? Explain
Which of the following is not an isolation level in the JDBC
why not override thread to make a runnable? : Java thread