46.2k views
1 vote
A ________ is a dummy function that is called instead of the actual function it represents, to test that the call to and return from the function are working correctly.

User Maelga
by
5.4k points

1 Answer

4 votes

Answer:

stub

Step-by-step explanation:

A stub can demonstrate the behavior of a code block (function or method) and as such it can be used as a temporal substitute, place holder or dummy function for code segments that are yet to be written to test the call and return from the function.

User Yegor Babarykin
by
5.8k points