Friday, October 07, 2005

A superabundant point in Java

In J2SDK 5, you can have many advantages from using enum. But maybe it has a superabundant point in Java when a enum's constructor has modifier.

You can declare a enum's constructor to be public or private. But who cares about it? No one! 'Cause enum's constructor can not use outside that enum.

Blah blah blah... :-D

No comments: