Java – Why is Java considered more portable than other languages like C++

cjavaportability

What differs between "writing a specific JRE for each platform" for Java developers and "writing a C++ compiler for each platform" for C++ ones?

Best Answer

Java is compile once run anywhere. C++ is write once compile anywhere.

Related Topic