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 virtual function?

Answer Posted / ann

A virtual function is a function which is preceded by the
keyword 'virtual' followed by its normal declaration.When we
use the same function name in both the base and derived
classes,the function in base class is declared as virtual.
This concept is a very important part of the
polymorphism portion of object-oriented programming

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading in oops?

1091


What is the main purpose of inheritance law?

1147


What do you mean by overloading?

1024


What is encapsulation selenium?

953


Which method cannot be overridden?

1015


How do you answer polymorphism?

1006


What is the advantage of oop over procedural language?

1006


What causes polymorphism?

1067


What is a class oop?

955


What is polymorphism used for?

1014


what type of question are asked in thoughtworks pair programming round ?

2144


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2549


What is object in oop?

1060


Can you inherit a private class?

1057


Can a destructor be called directly?

1019