✏️ Explanatory Question

Can Java run on any machine? What is needed to run Java on a computer?

👁 7,063 Views
📘 Detailed Answer
💡

Answer with Explanation

Java can run on any machine with a JVM. JVM(Java Virtual Machine) acts as a run-time engine to run Java applications. JVM is the one that actually calls the main method present in Java code. JVM is a part of the JRE(Java Runtime Environment).