Tech Mahindra Interview Question

Basic java-based question like JVM JRE diff