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


Please Help Members By Posting Answers For Below Questions

There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1447


how to get the oracle certification? send me the answer

1656


Why do while loop is used?

568


What is class and object in oops?

605


What does and I oop mean in text?

614






Why do we need polymorphism in c#?

677


Why do we use encapsulation in oops?

511


Why is destructor used?

574


What is static modifier?

625


write string class as your own class in java without using any built-in function

1966


What is oops and why we use oops?

569


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4231


What is class in oop with example?

608


Can an interface inherit a class?

551


Can a destructor be called directly?

591