Answer:
Yes. The names of the formal parameters do not have to be unique.
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.
- Passing a value to a method.
- Formal and Actual parameters.
- The scope of a formal parameter.
- What the statements of a method can "see."
- Assignment of values to a parameter.
- Local variables.
- The scope of a local variable.
- Overloading.
- Signature of a method.