一、资源绑定器 java.util 包下提供了一个资源绑定器,便于获取属性配置文件中的内容。 资源绑定器只能绑定xxx.properties文件,并且这个文件必须放到类路径下。 ——文件的扩展名必须为propertiespublic class ResourceBundleTest01 { public static void main(String[] args) { // 资源绑定器,只能绑定xxx.properties文件。并且这个文件必须在类路径下。 // 文件扩展名也必须是pr