CS 3304: Comparative Languages
Subprograms
[
Course Documents
] : [
Subprograms
]
Previous
Contents
Next
Keyword Index
Param Passing: PL Examples (cont.)
C++: Like C, but also allows reference type parameters, which provide the efficiency of pass-by-reference with in-mode semantics
Ada
All three semantic modes are available
If out, it cannot be referenced
If in, it cannot be assigned
Java
Like C++, except only references