Program Stubs are used in Top-Down design to allow step-wise refinement and support incremental program development by allowing for error and improvement.
A stub is an incomplete portion of code placed in a function to allow it and the program to compile and be tested. It does not actually implement the details of the algorithm or fufill the function's job requirements.