What do you mean by binding of data and functions?

Answer Posted / zoya

Binding is the process of connecting the function call to the function body. I.E. When we call the function, the parameters and the function name are passed to a internal function of the system. The system then locates the memory chunk where the function is defined(i.e. provides the address).<br><br>There are 2 types of binding:<br>1. Early binding: When the binding happens during the compilation.(Before the run time). Example: Normal functions<br><br>2. Late Binding: Also known as dynamic binding, Run Time binding etc. Here the binding happens during the runtime. <br>Example: Virtual functions.<br><br>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is polymorphism needed?

599


What is the importance of oop?

611


Can private class be inherited?

619


What is a class and object?

600


program for insertion ,deletion,sorting in double link list

2281






Which language is pure oop?

551


What is interface in oop?

664


Why do we use class in oops?

555


Can you inherit a private class?

631


What is object and example?

604


What is a class in oop?

606


Are polymorphisms mutations?

703


What is oops with example?

564


Why do we use encapsulation in oops?

522


What is abstraction in oops?

589