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
When object is created and destroyed?
how do I create a runnable with inheritance? : Java thread
What is a layout manager and what are different types of layout managers available in java awt?
Outline the major features of java.
What language is pass by reference?
why Java does not support multiple inheritances?
How do you check if a string contains only numeric digits?
What is byte [] in java?
How do you create a sop?
What are the 8 data types in java?
What do you know about the garbage collector?
what are the disadvantages of indexes in oracle?
How can we break singleton in java?
What is instance synchronization?
What is e in java?