Advertisements
Advertisements
प्रश्न
Differentiate between static binding and dynamic binding.
फरक स्पष्ट करा
Advertisements
उत्तर
| Basis of Difference | Static Binding | Dynamic Binding |
|---|---|---|
| Meaning | The function call is linked to its definition before execution. | The function call is linked to its definition during execution. |
| Time of binding | It occurs at compilation time. | It occurs at run time. |
| Function to execute | It is known in advance. | It may not be known until the program runs. |
| Flexibility | It is less flexible. | It is more flexible. |
| Common association | It is generally associated with early binding. | It is generally associated with run-time polymorphism. |
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
