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

what is the function of 'this' operator ?

7 Answers   Wipro,


1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage

2 Answers  


Is enum a class?

0 Answers  


What does I oop mean?

0 Answers  


Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.

6 Answers  






i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????

4 Answers  


Does c++ support multilevel and multiple inheritance?

9 Answers   IBS, Wipro,


What is multilevel inheritance?

0 Answers  


What is nutshell in programming language?

1 Answers   Satyam, Tech Mahindra,


What are the different forms of polymorphism??

8 Answers   Mantaq, NUC, PCS,


explain the concepts of oops?

1 Answers  


diff between Virtual mathod and abstract method?

1 Answers  


Categories