Monday, March 17, 2014

Static Classes in Java and C#

The semantics of them are entirely different. In C# it connotes a utility class; in Java it denotes independence from containing class (top level static classes are not allowed in Java).

See Skeet's answer for details: http://stackoverflow.com/questions/7486012/static-classes-in-java

No comments:

Post a Comment