0 votes
in JAVA by
What gives Java its 'write once and run anywhere' nature?

1 Answer

0 votes
by

What gives Java its 'write once and run anywhere' nature?

The bytecode. Java compiler converts the Java programs into the class file (Byte Code) which is the intermediate language between source code and machine code. This bytecode is not platform specific and can be executed on any computer.

Related questions

+1 vote
asked May 17, 2019 in Other by Derya
+3 votes
asked May 13, 2021 in JAVA by rajeshsharma
...