A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Mar 10, 2010
Sep 07, 2010 03:56:13
The Java 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.
rocket mass heater
subject: Interface constants
Can we have inner interfaces ...!?
whats your style with constants?
Regarding Constant Interface
Best practice: static import
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013