B02D-2017 – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  

Login
[lwa]



Exam Questions-CBSE12A-2017-B02D #PYTHON#6236    siteicon   siteicon  

Problem Statement - B02D-2017

Differentiate between static and dynamic binding in Python? Give suitable examples of each.

Solution

TC++ #6236

Static Binding: It allows linking of function call to the function definition during compilation of the program.
Dynamic Binding: It allows linking of a function during run time. That means the code of the function that is to be linked with function call is unknown until it is executed. Dynamic binding of functions makes the programs more flexible.


Share

CSKC| Created: 10-Jan-2019 | Updated: 10-Jan-2019|CBSE12A-2017









Back