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?



what is the difference between virtual function and destoctor?..

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

More OOPS Interview Questions

Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.

13 Answers   IBM,


How to improve object oriented design skills?

0 Answers  


can we make game by using c

1 Answers   SmartData,


What is destructor in oop?

0 Answers  


How many types of access specifier in c# and vb.net?

1 Answers   Infosys,


Contrast OOP and SOA. What are tenets of each?

1 Answers   Siebel Systems, Wipro,


Have you ever interfaced with a database?

2 Answers   IBM,


Give two or more real cenario of virtual function and vertual object

0 Answers   TCS,


how much classes are used in c++

5 Answers  


Why do we use oop?

0 Answers  


Why multiple inheritance is not possible?

0 Answers  


Please tell me the oops concept with detailed answer

9 Answers   EEE,


Categories