What do you mean by late binding?
No Answer is Posted For this Question
Be the First to Post Answer
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
List the advantages of inheritance.
what is c++
what is importance of data sturture in a programming language?
22 Answers L&T, TCS, Wipro,
In which memory a class gets stored(in heap /in stack)? And why??
Explain what are accessor methods?
Should I learn c or c++ or c#?
What are the operators in c++?
what is the difference between overloading & overriding? give example.
What is null pointer and void pointer and what is their use?
What is the use of endl in c++?
How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)