can we make/declare static class in java? if yes ,why?
An outer class can not be declared static. Only inner classes can be declared static. Static inner classes imply that the object of the inner class is not dependent upon the outer class object and can exist independently.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.