Always I'm thinking where to put the constants, in interfaces like:
public interface MyInterface {
...
public static final String MY_CONST = "const";
...
}
Or in classes like:
public class MyClass implements MyInterface {
...
public static final String MY_CONST = "const";
...
}
What's the better place to define constants?