What do you mean by virtual function and virtual classes?
Answer / Km. Archana
A virtual function is a member function in C++ that can be overridden by derived classes. Virtual functions allow polymorphic behavior, meaning the same method call can produce different results depending on the type of object it's called on. A virtual class is not a standard concept in C++ or other object-oriented programming languages.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain colloboration
What is diamond inheritance problem? How java 8 solves this problem?
Explain about multiple inheritance?
Explain the rationale behind object oriented concepts?
Who is an Actor?
Why is class hierarchies managed in object-oriented programming?
Can encapsulation be called as a security device?
Every object has : state, behavior and identity - explain
2 Answers InfoAxon Technologies, Protech,
What is the main difference between overloading and overriding?
What is the difference abstract class and interface?
what three "domains" are considered during analysis modeling?
Can you create an instance of an abstract class?