What is a pure virtual function?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• A function declared with = 0 in a base class, making it abstract. Example:
• virtual void display() = 0;
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• A function declared with = 0 in a base class, making it abstract. Example:
• virtual void display() = 0;
| Is This Answer Correct ? | 0 Yes | 0 No |
• A function declared with = 0 in a base class, making it abstract. Example:
• virtual void display() = 0;
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about multiple inheritance?
What is association?
What is the difference between a virtual method and an abstract method?
What are the different types of inheritance?
Difference between class and an object?
What are a base class, subclass, and superclass?
When do you prefer to use composition than aggregation?
1 Answers InfoAxon Technologies, Protech,
What is a friend function?
Explain method overriding.
What is ‘this’ pointer?
Explain the abstract class modifier?
Explain the use of Vtable and what are the various problems to override the functions?