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
Is java same as core java?
How does hashset work in java?
In how many ways we can do synchronization in java?
What is a variable simple definition?
What is the difference between overriding & overloading?
What is a “stateless” protocol ?
Can we serialize singleton class?
What are the types of arrays in java?
What is supplier in java?
Should a main method be compulsorily declared in all java classes?
How does the garbage collector works in java?
Can a class extends itself in java?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
Is java code slower than native code?
Is math class static in java?