*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Interface constants Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Interface constants" Watch "Interface constants" New topic
Author

Interface constants

ragi singh
Ranch Hand

Joined: Mar 10, 2010
Posts: 198

Hi ,

The Java specs say that interface constants need to be public static final , however
Malatesh Karabisti
Ranch Hand

Joined: Jul 28, 2010
Posts: 153

please post your questions properly.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

What is your question? They are implicit public static final.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
jQuery in Action, 2nd edition
 
subject: Interface constants
 
Similar Threads
Best practice: static import
Interface question
whats your style with constants?
Can we have inner interfaces ...!?
Regarding Constant Interface