public class ConfigValues { public static final String url = "https://www.google.com/"; ..//more properties }
为什么以上一个不被认为是好的,但创建单独的.properties文件被认为是好的做法?
.properties
java testing
java ×1
testing ×1