Java语言的方法参数浅析  被引量:1

Simple Analysis of Java Language's Method Parameter

在线阅读下载全文

作  者:徐春雨[1] 冷悦[1] 

机构地区:[1]辽宁省交通高等专科学校信息系,辽宁沈阳110122

出  处:《电脑知识与技术》2006年第3期166-168,共3页Computer Knowledge and Technology

摘  要:参数传递是Java语言中函数调用的重要步骤,清楚地了解参数传递的过程是编写出高质量程序所必需的。大多数程序设计语言具有传值调用和传引用调用两种方法。通过对典型程序的研究与分析可以看出Java语言的参数传递总是传值调用的,但是对于基本类型的参数和对象类型的参数来说,参数传递的情况不完全相同。Java语言不能直接使用传引用调用,但是可以通过数组的方式模拟传引用调用。Parameter transfer is important step of function call in Java language,It is necessary for high quality program that parameter transfer is distinctly understood.Many languages have two methods.These methods are calling by value and calling by reference.Parameter transfer of Java language is always calling by value via research and analysis of typical program. Parameter transfer isn' t completely same for basis type and object type.Although Java language can't use calling by reference directly,it can simulate calling by reference by array.

关 键 词:JAVA语言 传值调用 传引用调用 基本类型 对象类型 数组 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象