What is late bound function call and early bound function
call? Differentiate.
Answers were Sorted based on User's Feedback
Answer / svlsr2000
Functions are boud to there address so that they could be
executed. if the address of the functions are known durning
compile time the compiler binds it, this kind of binding is
known as compile time binding or early binding. Where as
when we dont know which function needs to be exucuted
during compile time (as in case of dynamic polymorphism),
compiler uses mechaninsm of virtual table and binds the
function address during runtime. this is known as runtime
binding or late binding.
| Is This Answer Correct ? | 24 Yes | 1 No |
Answer / amrut kanthavadiya
if function or any variable known during the compile time
such Binding is known as Early Binding.
if during compile time does not specify which function is
bind. such binding known as Late Binding.
Example
--------
Object is best Example of late binding
we are bind object variable at Dynamically when we use the
object.
| Is This Answer Correct ? | 8 Yes | 1 No |
what is the 3 types of system development life cycle
What are functions in oop?
what are the uses of C++
Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?
What is the problem with multiple inheritance?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
c++ is a pure object oriented programming or not?
What is a function in oop?
Which language is not a true object oriented programming language?
how does a main() in C++ is different from main() in C?
3. Differentiate verification and validation.
OOP'S advantages of inheritance include: