摘要
在Java面向对象程序设计中,创建数组时必须指明数组的长度,且长度固定、不能改变,同一个数组只能存放同一种数据类型的数据。然而,在实际情况下,数据的个数和类型需要根据实际情况进行相应的调整的。为此,提出选择Java中合适的集合容器List接口、ArrayList实现类来设计并实现房源出租信息系统。实践表明,该方法可以提高开发效率。
In java object-oriented programming, when creating an array, the length of the array must be specified,and the length is fixed and cannot be changed. The same array can only store data of the same data type. However, in practice, the number and type of data are adjusted accordingly. Therefore, to propose to select the appropriate collection container list interface and ArrayList implementation class in Java to design and implement the house rental information system. Practice shows that this method can improve the development efficiency.
作者
吴飞燕
WU Feiyan(College of Internet of Things,Jiangxi Teachers College,Yingtan Jiangxi 335000)
出处
《河南科技》
2021年第29期15-18,共4页
Henan Science and Technology