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

What is byval and byref? What are differences between them?

0 Answers   HCL, Wipro,


What is the concept of object oriented program?

6 Answers  


Have you ever used threads?

3 Answers   Adobe, IBM,


What are the 3 principles of oop?

0 Answers  


Why do we use oops?

0 Answers  


What does <> mean pseudocode?

0 Answers  


how to get the oracle certification? send me the answer

0 Answers   Oracle,


#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }

2 Answers   TCS, Wipro,


write a program to find the largest of two numbers without using for,while,switch,if else, conditional operator and do while using c++ pgmng language

3 Answers   Satyam,


Please tell me the oops concept with detailed answer

9 Answers   EEE,


What is memory leak and memory corruption?

1 Answers   TCS,


What is the point of oop?

0 Answers  


Categories