Constants « Class Definition « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Class Definition » Constants 
1. Call direct?
Author:Tony Sintes
URL:http://www.javaworld.com/javaworld/javaqa/2001-07/03-qa-0720-direct.html?
Summary: Should you call a frequently accessed constant directly?


2. Constants
Author:Tony Sintes
URL:http://www.javaworld.com/javaworld/javaqa/2001-03/03-qa-0330-constants.html?
Summary: What's the best way to handle constants in an application?


3. When a constant isn't really a constant
Author:Vladimir Roubtsov
URL:http://www.javaworld.com/javaworld/javaqa/2003-03/02-qa-0328-constant.html?
Summary: Cyclic class dependencies can create unpredictable runtime behavior


4. Constants, I do declare
Author:Tony Sintes
URL:http://www.javaworld.com/javaworld/javaqa/2001-06/01-qa-0608-constants.html?
Summary: Readers describe how they employ constants


5. Use constant types for safer and cleaner code
Author:Thomas E. Davis
URL:http://www.javaworld.com/javaworld/jw-09-1999/jw-09-cooltools.html?
Summary: Using constant types makes your code safer and cleaner; it reduces the chance of typos that the compiler can't catch while preventing other programmers from passing you invalid values. Constant types also provide a nice object-oriented way to encapsulate arbitrary data in legacy systems. (2,500 words)


w__w__w__.___j__a___va__2___s___.co___m___ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.