1.Top-level classes can not be declared static.
2.member inner class can be declared static.
3.non-static member inner class can have non-static methods but can not have static methods.
4.static member inner class can have static methods and non-static methods.
5.non-static methods can have non-static local inner class.
6.non-static methods can not have static local inner class.
5.static methods can have non-static local inner class.
6.static methods can not have static local inner class.
7.methods can not have static values.
8 static member inner class can have static values.
9 non-static member inner class can not have static values.
2.member inner class can be declared static.
3.non-static member inner class can have non-static methods but can not have static methods.
4.static member inner class can have static methods and non-static methods.
5.non-static methods can have non-static local inner class.
6.non-static methods can not have static local inner class.
5.static methods can have non-static local inner class.
6.static methods can not have static local inner class.
7.methods can not have static values.
8 static member inner class can have static values.
9 non-static member inner class can not have static values.