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 |
Can I learn c++ without knowing c?
If a header file is included twice by mistake in the program, will it give any error?
Explain what happens when a pointer is deleted twice?
What is helper in c++?
How do you initialize a class member, class x { const int i; };
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
Can I learn c++ without c?
What is the cout in c++?
If there are two catch statements, one for base and one for derived, which should come first?
How many standards of c++ are there?
What is the difference between global variables and local variable
What kind of jobs can I get with c++?