In Java, a modifier has a reserved keyword that is included in the definition of class, method, and variables. A modifier adds some meanings to these definitions. Modifiers are also called
These modifiers are classified into two categories. Some of the modifiers are called access modifiers and some are called non-access modifiers.