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 are the 2 types of java programs?
How can the checkbox class be used to create a radio button?
What are recursive functions?
What is a boolean structure?
Write a method to check if input string is palindrome?
What is a platform?
Can I use % with real numbers?
Can an integer be null java?
What is flush buffer?
what invokes a threads run() method? : Java thread
What is finally and finalize in java?
Which non-unicode letter characters may be used as the first character of an identifier?
What is method overriding in java ?
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
Compare java and python.