"A method signature also includes information about the enclosing class. Thus, the overloaded f methods in Overloading1 don't clash with the f methods in Overloading2."
I feel the explanation for not clashing comes from namespace separation, considering that a method signature, as given in the same para
"consists of the name, argument list and return type."
For users (vs. compiler) of the language, I don't see how a method signature also includes information about the enclosing class.
Pg148 - last two sentences say:
I feel the explanation for not clashing comes from namespace separation, considering that a method signature, as given in the same para
For users (vs. compiler) of the language, I don't see how a method signature also includes information about the enclosing class.