C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 24)
24.
How "Late binding" is implemented in C++?
Using C++ tables
Using Virtual tables
Using Indexed virtual tables
Using polymorphic tables
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
22 comments Page 1 of 3.

Shweta said:   1 decade ago
To implement virtual functions, C++ uses a special form of late binding known as the virtual table. The virtual table is a lookup table of functions used to resolve function calls in a dynamic/late binding manner. The virtual table sometimes goes by other names, such as "vtable", "virtual function table", "virtual method table", or "dispatch table".

Raj swami said:   6 years ago
When class contain at least one virtual function at that time complier internally creates one table which stores the address of virtual function declared in the side that class. Such a table is called virtual function table or vftable or vtable.

Pooja Pandey said:   1 decade ago
The function is linked with particular class much later after compilation, the process is termed as late binding or dynamic binding or dynamic linkage. The late binding is implemented through virtual function.

Yogesh said:   1 decade ago
The virtual table is a lookup table of functions used to resolve function calls in a dynamic/late binding manner.

Priya said:   8 years ago
Late binding is similar to dynamic binding. Used to call the relevant function during the runtime of a program.

Mukul said:   2 years ago
Late Binding means Dynamic Binding or Runtime Binding. Various mappings done at the running of program code.

Jayshri salve said:   6 years ago
Late Binding means Dynamic Binding or Runtime Binding. Various mappings done at the running of program code.

Vivek Kumar said:   1 decade ago
Late Binding means Dynamic Binding or Runtime Binding. Various mappings done at the running of program code.

Akshay meena said:   9 years ago
What is the difference between virtual function and virtual table? Somebody please tell me.

Savitha.D said:   1 decade ago
I need a clear description about virtual tables and its functions can any one help me out.


Post your comments here:

Your comments will be displayed after verification.