Two Laptop Bag
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Interface constants Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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: 143

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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Interface constants
 
Similar Threads
Regarding Constant Interface
Interface question
Best practice: static import
Can we have inner interfaces ...!?
whats your style with constants?