Дано:
public class SomeClass {
public static void main(String[] args) {
Locale locale = new Locale("", "");
ResourceBundle rb = ResourceBundle.getBundle("bundle", locale);
System.out.println(rb.getString("key1"));
}
}
bundle.properties
key1 = Hi
Каков результат?
Please log in or register to have a possibility to add comment.