R
Robert McCall
Greetings All,
Does anyone have any idea why a method signature does not
include the return type?
Example:
int someFct( int a, int b );
is the same signature as
double someFct( int a, int b );
and, as such, cannot co-exist in a class.
Is there some kind of object-oriented base ~ sub-class
relationship that is helped by not including the return
value in the signature?
Peace & Blessings,
Robert McCall
Does anyone have any idea why a method signature does not
include the return type?
Example:
int someFct( int a, int b );
is the same signature as
double someFct( int a, int b );
and, as such, cannot co-exist in a class.
Is there some kind of object-oriented base ~ sub-class
relationship that is helped by not including the return
value in the signature?
Peace & Blessings,
Robert McCall