Definition of Static inner classes: If we define any inner class as static then it is known as static inner class.   Properties of static inner classes: We can define any access specifier before a static inner class. Static inner classes can have static members as well as non–static members. Static members of a class…