1 posts · 648 views
Yingliang Du's Blog
1 post
Sort by Latest Post, Most Popular
View by Condensed, Full
by Yingliang Du in Yingliang Du's Blog
In the article “Create enumerated constants in Java” , Eric point out static final constants like this:
static final int YELLOW = 0;
static final int GREEN = 1;
static final int BLUE = 2;
had the following drawbacks:
The major drawback is the lack of type safety. Any [...]... Read more »
Eric Armstrong. (1997) Create enumerated constants in Java. http://www.javaworld.com/jw-07-1997/jw-07-enumerated.html. info:/
Do you write about peer-reviewed research in your blog? Use ResearchBlogging.org to make it easy for your readers — and others from around the world — to find your serious posts about academic research.
If you don't have a blog, you can still use our site to learn about fascinating developments in cutting-edge research from around the world.