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 |
write a program to find 2^n+1 ?
What is difference between oop and pop?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Write a macro for swapping integers
should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks
what about you? wahat is your object? introduce your self?
1 Answers Ajmal Perfumes, TCS,
what is difference between thread and programme.
What is the difference between abstraction and polymorphism?
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
What is polymorphism explain its types?
what is difference between c++ language and java language
Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}