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
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What are the 3 pillars of oop?
Which is better struts or spring?
Can you inherit a private class?
How do you define social class?
What is the problem with multiple inheritance?
Which language is not a true object oriented programming language?
What is data binding in oops?
Can private class be inherited?
What is abstract class in oops?
How long to learn object oriented programming?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is inheritance write a program to show use of inheritance?
What is the use of oops?
What is constructor overloading in oop?