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 |
What do you mean by virtual function and virtual classes?
What is the difference between an Abstract class and Interface?
Can we have a default method definition in the interface without specifying the keyword "default"?
What is the difference between class inheritance and interface inheritance?
What are the access modifiers?
Explain the use of Vtable and what are the various problems to override the functions?
Differentiate between data abstraction and encapsulation.
What are the basic concepts of oop?
What is bootstrap, extension and system class loader? Or can you explain primordial class loader?
Can an interface contain fields?
Explain about the analysis phase?
Which keyword can be used for overloading?