首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Java语言中数组做方法参数的深入分析
引用本文:胡敏,胡菊霞,张永,张婧,曾剑明.Java语言中数组做方法参数的深入分析[J].陕西理工学院学报(自然科学版),2006,22(3):88-90,94.
作者姓名:胡敏  胡菊霞  张永  张婧  曾剑明
作者单位:1. 江西现代职业技术学院,教务工作部,江西,南昌,330012
2. 南昌市职工科技大学,江西,南昌,330077
3. 南昌航空工业学院,计算机学院,江西,南昌,330063
4. 江西现代职业技术学院,信息分院,江西,南昌,330012
摘    要:介绍了Java语言中数组的概念和访问方法,深入分析了数组做方法参数和返回类型的使用方法及注意事项,并论述了在软件开发中如何巧妙、正确地使用它们,从而大大提高程序的方便性和通用性,最后针对每种情况举了相应的实例和内存变化图来加以说明,尤其指出了数组做方法参数的各种情况的使用区别。

关 键 词:方法  参数  数组  引用
文章编号:1673-2944(2006)03-0088-04
收稿时间:2006-02-21
修稿时间:2006-02-21

Thorough analysis of how to use array as parameter of method in JAVA language
HU Min,HU Ju-Xia,ZHANG Yong,ZHANG Jing,ZENG Jian-Ming.Thorough analysis of how to use array as parameter of method in JAVA language[J].Journal of Shananxi University of Technology:Natural Science Edition,2006,22(3):88-90,94.
Authors:HU Min  HU Ju-Xia  ZHANG Yong  ZHANG Jing  ZENG Jian-Ming
Institution:1. Educational Department, Jiangxi Modem College, Nanchang 330012, China; 2. Nanchang Staff College of Science and Technology, Nanchang 330077, China; 3. School of Computer,Nanchang Institute of Aeronautical Technology, Nanchang 330063, China; 4. Department of Computer,Jiangxi Modem College, Nanchang 330012, China
Abstract: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.
Keywords:method  parameter  array  reference
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号