孙金鑫 发表于 2013-7-7 17:18
问题1:求解 count = Integer.parseInt(value);这句代码的意义
是把字符串转换成Integer类型的数据。
"O_忆_O 发表于 2013-7-7 17:31
count = Integer.parseInt(value);的意义:
由于在文件中,time的值是以字符串形式存储的,所以取出来之 ...
zhouchao 发表于 2013-7-7 17:34
非常感谢你的回答!! 是不是因为 value的类型不是int型的 所以要转换成int型的 ...
孙金鑫 发表于 2013-7-7 17:40
String getProperty(String key)
用指定的键在此属性列表中搜索属性。
欢迎光临 黑马程序员技术交流社区 (http://bbs.itheima.com/) | 黑马程序员IT技术论坛 X3.2 |