Classes and Interfaces are the basis based on which the java programming universe revolves. Everything in Java is an object but an object is nothing but the runtime orientation of a class. In other words, an object is nothing but a class that is being executed.
Whenever you write any java code, it implicitly means that you are writing classes or interfaces. Within those classes, as you know,