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 use String with switch case?
What is object data type?
How does a for loop work?
What is mean by collections in java?
What are the three parts of a lambda expression?
Is class is a data type?
Explain about the performance aspects of core java?
What is bool mean?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What do you mean by byte code?
Write a factorial program using recursion in java?
How do you reverse a list?
What is byte data type?
How do you use compareto?
Is array synchronized in java?