0 votes
318 views
in JAVA by (98.9k points)
edited

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

1 Answer

0 votes
by (98.9k points)
edited
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

0 votes
1 answer 264 views
0 votes
1 answer 383 views
0 votes
0 answers 264 views
asked Aug 9, 2022 in JAVA by Doubtly (98.9k points)
0 votes
1 answer 336 views
asked Aug 9, 2022 in JAVA by Doubtly (98.9k points)
0 votes
1 answer 340 views
asked Aug 9, 2022 in JAVA by Doubtly (98.9k points)
0 votes
1 answer 421 views
asked Aug 9, 2022 in JAVA by Doubtly (98.9k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

Recent Badges

Doubtly Earned a badge
MrRam Earned a badge
Ritesh Maurya Earned a badge

5.7k questions

5.1k answers

108 comments

648 users

...