What do you mean by late binding?



What do you mean by late binding?..

Answer / Lalitesh Kumar Singh

Late binding, also known as dynamic dispatch or dynamic method binding, is a process where the decision about which function to call is made at runtime rather than compile-time. This allows the object's actual type to be taken into account when deciding which function to call.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

Can I learn c++ without knowing c?

1 Answers  


If a header file is included twice by mistake in the program, will it give any error?

1 Answers  


Explain what happens when a pointer is deleted twice?

1 Answers  


What is helper in c++?

1 Answers  


How do you initialize a class member, class x { const int i; };

8 Answers   emc2,


class Alpha { public: char data[10000]; Alpha(); ~Alpha(); }; class Beta { public: Beta() { n = 0; } void FillData(Alpha a); private: int n; }; How do you make the above sample code more efficient? a) If possible, make the constructor for Beta private to reduce the overhead of public constructors. b) Change the return type in FillData to int to negate the implicit return conversion from "int" to "void". c) Make the destructor for Alpha virtual. d) Make the constructor for Alpha virtual. e) Pass a const reference to Alpha in FillData

2 Answers   Quark,


Can I learn c++ without c?

1 Answers  


What is the cout in c++?

1 Answers  


If there are two catch statements, one for base and one for derived, which should come first?

1 Answers  


How many standards of c++ are there?

1 Answers  


What is the difference between global variables and local variable

1 Answers  


What kind of jobs can I get with c++?

1 Answers  


Categories