Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
119 views
by The go-to Tester (344 points)
What is meant by 'run once and execute anywhere' in Java?

1 Answer

0 like 0 dislike
by Master (1.2k points)
Java is a platform independent language. You just have to compile all those .java file once and then any OS that has proper JVM support will execute it w/o compiling it back, unlike other programming languages, for that specific OS. You do not have to rewrite your code for the specific operating system.

That's why they say, run/compile once and execute it anywhere.
...