Why can't we put static methods in regular inner class?
We can't have a static method inside a regular inner class..
while you can have them inside top level nested classes..
It's because regular inner classes always need an instance of outer classto get themselves instantiated..
However static methods don't need an instance of the class..
They are associated with the class not the instance..
Hence you get a compile time error..