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 the difference between virtual function and
destoctor?

Answer Posted / prabhakar

virtual function is just like a member function of a class.it is used to over loading mechanisam.it can be acesses by any object of either base class or derived class.
destructor is used to dellocate the memory of an object.it can call by using delete operator.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use polymorphism in oops?

981


What is abstraction and encapsulation?

941


What is polymorphism in oops with example?

972


What is a class in oop?

1045


What is polymorphism and its types?

1006


What is this pointer in oop?

997


Can destructor be overloaded?

978


What is coupling in oops?

1065


What is coupling in oop?

968


What is advantage of inheritance?

1127


when to use 'mutable' keyword and when to use 'const cast' in c++

2109


What is polymorphism explain?

1189


class type to basic type conversion

2337


What does and I oop and sksksk mean?

1107


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

2357