Why Java is called as platform independent language?

I am strating learn java but i have no idea how to learn.Please advice.please anwser this question.I am waiting your answer

1 Answer
Java is platform-independent because it uses a "Write Once, Run Anywhere" approach. Java source code is compiled into bytecode, which is platform-neutral. This bytecode can be executed on any platform that has a Java Virtual Machine (JVM) compatible with that bytecode.

We use cookies to enhance your experience, to provide social media features and to analyse our traffic. By continuing to browse, you agree to our Privacy Policy.