下面小编为您讲解怎么读取properties文件的内容
工具/原料
1
联想笔记本IdeaPad 15slML 2020
2
Windows10
3
IDEA2020.1.3
方法/步骤
2
使用ResourceBundle类的getBundle方法读取properties文件。
3
运行代码,properties文件中的内容被打印出来了。
下一篇:word的审阅功能简介
联想笔记本IdeaPad 15slML 2020
Windows10
IDEA2020.1.3
使用ResourceBundle类的getBundle方法读取properties文件。
运行代码,properties文件中的内容被打印出来了。