Platformeasy0-2 years
What is the difference between the JDK, the JRE and the JVM?
The JVM executes bytecode. The JRE is the JVM plus the class library — enough to run a program. The JDK is the JRE plus the tools that build and inspect programs: javac, jar, javap, jcmd, jfr.
Why is a Java service slower in its first minute after a deploy, and what do you do about it?`a` is the literal "code". Which of `"co" + "de"`, `fco + "de"` (with `final String fco = "co"`), `nco + "de"` (without `final`), `new StringBuilder("co").append("de").toString()` and `new String("code")` are `==` to `a`? What does `intern()` change, and what does it not?