Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is an virtual function

Answer Posted / nishi tomar

A virtual function is a member function of a class, whose
functionality can be over-ridden in its derived classes. It
is one that is declared as virtual in the base class using
the virtual keyword. The virtual nature is inherited in the
subsequent derived classes and the virtual keyword need not
be re-stated there. The whole function body can be replaced
with a new set of implementation in the derived class.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is better - 'bit-shift a value' or 'multiply by 2'?

1188


What is the purpose of nested class in java?

1083


What are the rules for variable declaration?

965


Can you explain inner class.

1088


What is variable length arguments in java?

970


Is java code slower than native code?

1057


Can the garbage collection be forced by any means?

989


What is sorting in java?

984


Describe the Big-O Notation.

1044


What is the difference between stringbuffer and stringbuilder class?

1104


What is == mean?

996


Write code of any action class?

1013


Which is illegal identifier in java?

1088


What is a method declaration?

992


Difference between string s= new string (); and string s = "abv";?

1215