What is the main difference between JVM and JRE?
JVM is a part of JRE, and JRE contains libraries and other utilities to support the execution of Java programs.
Excellent! Youâ€™ve got the relationship between JVM and JRE right.
Can you explain what role Java libraries play in JRE and why they are important for Java programs?