1. What is the main difference between JDK and JRE?
- JDK runs programs, JRE compiles them
- JDK contains development tools, JRE only runs programs
- JRE is larger than JDK
- They are the same
Reveal sample answer and explanation
Answer: JDK contains development tools, JRE only runs programs
JDK includes compiler and tools, while JRE only runs Java programs.