0
What makes Java a cross platform programming language?
Is there any other language that is also a cross platform?
2 Antworten
+ 2
Java code after compiling gets converted into Java bytecode which is independent of platform. this bytecode is understood by JVM which is installed on the platform thus same compiled code runs in different platform
many languages like c++ etc are cross platform but they are not platform indrpendent as ondrej.said
+ 1
All major languages are cross-platform. Java achieves it by using bytecode that is executed by JVM. Other languages like C++ achieve it by compilling sources into binaries that targeting different platforms. Scripting languages like PHP has their interpreters also available on several platforms.