what is virtual function?
Answer Posted / sandeep kumar
a virtual function is a member function that you expect to be redefined in derived class when you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for the object and executes the derived class version of the function
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
2. Give the different notations for the class.\
What is constructor in oop?
What is inheritance write a program to show use of inheritance?
What is a class and object?
What is the important feature of inheritance?
What is polymorphism what is it for and how is it used?
officer say me - i am offered to a smoking , then what can you say
Why interface is used?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is the difference between a mixin and inheritance?
What is polymorphism in oops with example?
What is encapsulation in simple terms?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
State what is encapsulation and friend function?