Hi Ranchers,
How does it make difference if I create an Interface or Class for Constants in an application?
for example:
public interface AppConstants {
public static final
String REQUEST_ATTR = "request";
public static final String SESSION_ATTR = "session";
........
........
........
}
---------- OR --------------------
public class AppConstants {
public static final String REQUEST_ATTR = "request";
public static final String SESSION_ATTR = "session";
........
........
........
}
Please share your's thoughts.