What is the JDK
JDK is Java Development Kit and is a package that contains tools for making programs using Java. Tools like the Compiler and the Java Virtual Machine.
What does the Compiler do?
It converts code into bytecode.
What does the JVM do?
JVM is a software layer between Java code and the machine running the software. It acts like a translator between the compiled Java code and the machine’s bytecode.
What is the purpose of the Comparable interface?
I provides the compareTo() method which allows comparing an object with other objects of the same type.