package com.yanyu;
import java.util.ResourceBundle;
public class soft02 {
public static void main(String[] args) {
ResourceBundle bundle=ResourceBundle.getBundle("com/yanyu/db");
System.out.println(bundle);
String name = bundle.getString("username");
System.out.println(name);
System.out.println(bundle.getString("password"));
}
}
软件3班11
最新推荐文章于 2024-07-28 19:41:52 发布