What is late bound function call and early bound function
call? Differentiate.

Answers were Sorted based on User's Feedback



What is late bound function call and early bound function call? Differentiate...

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

What is late bound function call and early bound function call? Differentiate...

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

Post New Answer

More OOPS Interview Questions

Write a program in c++ to read two floating point numbers and find their sum and average.

2 Answers  


What is the oops and benefits of oops programming?

0 Answers  


WHAT'S THE OOPS BASIC OOPS CONCEPTS IN DOTNET

1 Answers  


What is multiple inheritance? Give Example

6 Answers   Mind Tree,


Should you protect the global data in threads? Why or why not?

2 Answers   IBM,


What is polymorphism in oop example?

0 Answers  


Give two or more real cenario of virtual function and vertual object

0 Answers   TCS,


i hav very low percentage in 12th n BSCwhich is around 50.......coz it was just imposed on me 2 b a science graduate,nw m doin MCA n hav aggregate 74% ....what shud i answer if company's HR ask me about dis much low previous percentage??????

3 Answers   Infosys,


What is encapsulation in ict?

0 Answers  


What is the real life example of polymorphism?

0 Answers  


What is the difference between encapsulation and polymorphism?

0 Answers  


What is difference between abstraction and encapsulation?

0 Answers  


Categories