what is virtual function?

Answer Posted / ravi

Virtual function is a member function of a class.whose
functionality can be overridden in is derived class.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long to learn object oriented programming?

565


What is polymorphism in oops with example?

533


How do you explain polymorphism?

592


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2068


Can you inherit a private class?

632






What is the types of inheritance?

604


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1652


Why is polymorphism used?

586


what is the 3 types of system development life cycle

2435


Is oop better than procedural?

574


What is the main feature of oop?

620


Prepare me a program for the animation of train

2000


c++ program to swap the objects of two different classes

1765


Can private class be inherited?

619


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.

1789