Tech Mahindra interview question

Basic java-based question like JVM JRE diff