What is the difference between JDK and JRE?
1. What is the difference between JDK and JRE?
- A.JRE contains JDK and JVM.
- B.JDK is for development and contains JRE; JRE is only for running compiled Java programs.
- C.JDK compiles code into machine code; JRE compiles it to bytecode.
- D.There is no difference; they are aliases.