Originally posted by Joe Schider:
I like to think of static classes in a sense as a "global" object, function, var... Everytime you call a constructor on a non-static object, you get a 'new' object, and all these 'new' objects, if permitted would all call the same single static object throughout the apps runtime. Guys correct me if I am wrong in this thinking, but its an easy way for me to keep things straight.
Originally posted by Arun Kumarr:
... Inner classes can be static.
An inner class is a nested class that is not implicitly or explicitly declared static.
Inner class may not declare static initializers or member interfaces.
Inner classes may not declare static members, unless they are compile-time constant fields.
a local class is a nested class that is not a member of any class and that has a name.
All local classes are inner classes.