Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
Differentiate between static and dynamic binding in Python? Give suitable examples of each.
Answer:
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.
C. Sir| Created: 12-Jan-2019 | Updated: 12-Jan-2019|CBSE12D-2017