Parameters, Local Variables, and Overloading
20. End of the Chapter
Answer:
println( String x )
String concatenation is performed before println()
is called, resulting in an argument that is a String
reference.
End of the Chapter
End of the Chapter
You have reached the end this chapter. You may wish to review the following, unless you feel overloaded. Click on a subject that interests you to go to where it was discussed.
- parameter passing Passing a value to a method.
- parameter, formal and actual Formal and Actual parameters.
- scope, of formal parameter The scope of a formal parameter.
- visibility of variables What the statements of a method can "see."
- parameter, assignment to Assignment of values to a parameter.
- local variable Local variables.
- scope, of local variable The scope of a local variable.
- overloading, of methods Overloading.
- signature Signature of a method.