Which of the following is a recommended way to make constants available globally in a Java application?
declare static final constants outside any class
declare static final constants in a separate header file and include this file in all the java classes
declare constants in an interface and import this interface in all the java files
declare constants in an abstract class and import this class in all the java files
Back To Top