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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create object of interface?

601


What is abstract class in oop?

526


Whats oop mean?

586


What makes a language oop?

592


What are the benefits of polymorphism?

616






Write a program to sort the number with different sorts in one program ??

1912


Why do while loop is used?

570


Why do we use oops?

589


What are the two different types of polymorphism?

669


Can static class have constructor?

582


What is abstraction in oops with example?

770


When not to use object oriented programming?

565


What is a superclass in oop?

665


Which type does string inherit from?

610


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1413