Why is java platform independent?

AnswerBot
1y

Java is platform independent due to its bytecode and JVM.

  • Java code is compiled into bytecode which is platform-independent.

  • JVM (Java Virtual Machine) interprets the bytecode and executes it on any pla...read more

Anonymous
1y

Because we can write java code in one system run on another system.

Anonymous
1y

Java does not compile into machine code, it compiles into byte code and it will run or interpreted using JVM( java virtual machine). Which makes java platform independent.

Anonymous
1y

_Because it uses a virtual machine .

_The java programming languages and all all's

are compiled into bytecodes.

_Bytecodes are effectively platforms _independent .

Anonymous
1y

Java is platform-independent because it uses a virtual machine.The virtual machine takes care of the differences between the bytecodes for the different platforms.

Anonymous
2y

Java is called Platform Independent because programs written in Java can be run on multiple platforms without re-writing them individually for a particular platform, i.e., Write Once Run Anywhere (WOR...read more

Rajesh Behera
2y

Java compiler converts the java code into byte code. The JVM then converts the byte code into its machine code. Since Java always produce the byte code, it does not matter on which platform it is run....read more

ROBINSH KUMAR
2y

Java is first compiled into .class file called bytecode which further get interpreted, this compiled bytecode can be interpreted on any platform, Thus this .class file called bytecode makes java platf...read more

Nayineni Sudarshan
2y

Java can be run on multiple platforms it runs anywhere

Anonymous
2y

because programs written in Java can be run on multiple platforms without re-writing them individually for a particular platform, i.e., Write Once Run Anywhere (WORA).

Anonymous
2y

You can write Java programme in any platform like window, Linux , Mac and after that the we can run this in another platform by jvm, so jvm is platform dependent but Java file is platform independent.

Anonymous
author
2y
Java is called Platform Independent because programs written in Java can be run on multiple platforms without re-writing them individually for a particular platform, i.e., Write Once Run Anywhere (WOR...read more
Add answer anonymously...
Cognizant Programmer Analyst Trainee Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter