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 / manab

When derived class overrides the base class method by
redefining the same function, then if client wants to
access redefined the method from derived class through a
pointer from base class object, then you must define this
function in base class as virtual function.

Is This Answer Correct ?    68 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concepts involved in Object Oriented programming.

1312


What is overloading in oops?

1211


What is solid in oops?

1203


How do you use inheritance in unity?

1127


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

2678


What is balance factor?

1132


Can a destructor be called directly?

1134


What are the benefits of polymorphism?

1360


How oops is better than procedural?

1148


Can you explain polymorphism?

1155


What are classes oop?

1089


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2449


What is the main purpose of inheritance law?

1248


What is multilevel inheritance?

1257


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6729