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

How to create a comment page in C #??

2 Answers  


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?

0 Answers  


What is multilevel inheritance explain with example?

0 Answers  


What is a template?

7 Answers  


what is the difference between class to class type conversion and copy constructor ?

2 Answers  


This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

0 Answers  


hi all..i want to know oops concepts clearly can any1 explain??

0 Answers   Eureka Forbes,


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


Why do we need polymorphism in c#?

0 Answers  


What is for loop and its syntax?

0 Answers  


can we make game by using c

1 Answers   SmartData,


What is encapsulation in simple terms?

0 Answers  


Categories