In Java, Classes are the templates which describes the behavior and state of its objects and Objects are the instances of the class which are created at the