Answer Posted / sree
virtual function comes into picture while inheriting the
base class functions to the derived class functions.
ifthe virtual isnot used then the pointer of derived class
points to the baseclass function
| Is This Answer Correct ? | 28 Yes | 1 No |
Post New Answer View All Answers
Why is polymorphism important in oop?
What is encapsulation selenium?
What is the real time example of inheritance?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is object in oop with example?
What is polymorphism in oops with example?
What is oops and its features?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is polymorphism and example?
#include
write string class as your own class in java without using any built-in function
How many human genes are polymorphic?
Why do we need polymorphism in c#?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is meant by multiple inheritance?