How is a Java platform independent?
Anónimo
Java is a platform independent programming language because its compiled code can run anywhere i.e it is machine independent when we write java code it compiled by java c compiler and produces .class file this class file is called bytecode which is machine independent and after that this machine code can run through different machines like win,linux,macOs