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 |
Can we override a method by using same method name and arguments but different return types?
Explain colloboration
Differences between functional programming and object-oriented programming?
Explain about encapsulation?
What are sealed modifiers?
What is an abstraction?
Explain about inheritance hierarchies?
When will you use an interface and abstract class?
What is the significance of encapsulation?
What is the difference between an interface and abstract class?
Difference: Sequence Diagrams, Collaboration Diagrams ?
Why we use oops concepts? What is its advantage?