In the first, you have a function call. In the second, you have a method call.
Method calls follow inheritance. Method calls pass the class or object on which the method was called as the first parameter.
Values are returned to the caller identically in both cases. Returned values are obtained by the caller identically in both cases.
In reply to Re: doubt in object oriented
by ikegami
in thread doubt in object oriented
by goutamram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |