167k views
0 votes
What is the difference between a parent and child function?

2 Answers

3 votes

Answer:

The parent function is not calling the child function: the main program is calling the function, and if the object on which it is calling the function is a child, then the child's function is the one that will get called.

Explanation:

User Bmavity
by
5.8k points
3 votes
What do you mean ? Parent and child ?
User Cortez
by
6.5k points