Hi All
One of my colleagues had an interface with contants
only, and implemented it instead of just referencing
them directly, and that set me thinking. Would it be
better to have these constants in a final class with a
private constructor? That way at least no one would be
able to misuse it.
What are the pros and cons: Interface with constants
or final private constructor class?
Best Regards
Lesetja 

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to