I have seen the following in a abook:
"The argument(s) of a method can be any type of object (as long as its class has been made available to the program), as well as the predeļ¬ned default types of variable. For example, methods in our three-vector class are not limited to just accepting arguments of type threevector, int, double, etc."
I understand that the first statement is telling us that objects of all classes made available to the program can be used as arguments of a method.
What I do not understand, however, is how the second statement follows logically from the first. "Methods in our three-vector class are not limited to just accepting arguments of type threevector, int, double, etc." Sure! No problem! But what other types of objects are you thinking of?