You have one base class virtual function how will call that
function from derived class?
Answer Posted / mazher
class B:A
{
public override void A_Func()
{
base.A_Func();
}
}
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is a null tree?
What is object-oriented programming? Webopedia definition
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What is the real time example of encapsulation?
what are the realtime excercises in C++?
What is polymorphism oop?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What are functions in oop?
Why do we use oops?
What makes a language oop?
What is encapsulation oop?
Which method cannot be overridden?
What is basic concept of oop?
What are the data types in oop?
Which language is not a true object oriented programming language?