摘要
介绍了Java语言中数组的概念和访问方法,深入分析了数组做方法参数和返回类型的使用方法及注意事项,并论述了在软件开发中如何巧妙、正确地使用它们,从而大大提高程序的方便性和通用性,最后针对每种情况举了相应的实例和内存变化图来加以说明,尤其指出了数组做方法参数的各种情况的使用区别。
This paper introduces the concept of array, the means of definition and access ot the array in Java language . It thoroughly analyzes how to use array as parameter, return type of method and advertings in different cases, and also discusses how to use them subtly in software development to raise the conveniences and flexibility of a program, and at last gives some examples as to every case,especially points out the difference of every case about array as parameter of method.
出处
《陕西理工学院学报(自然科学版)》
2006年第3期88-90,94,共4页
Journal of Shananxi University of Technology:Natural Science Edition
关键词
方法
参数
数组
引用
method
parameter
array
reference