A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Mar 10, 2010
Sep 07, 2010 03:56:13
specs say that interface constants need to be public static final , however
Joined: Jul 28, 2010
Sep 07, 2010 03:59:59
please post your questions properly.
Joined: Oct 25, 2008
Sep 07, 2010 04:01:04
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:
subject: Interface constants
Can we have inner interfaces ...!?
Regarding Constant Interface
whats your style with constants?
Best practice: static import
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015