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...


why destructor is not over loaded?

Answers were Sorted based on User's Feedback



why destructor is not over loaded?..

Answer / ramakant

Normally (in fact almost always) you never explicitly call
the destructor, it is automatically called by the C++ frame
work when the object is deleted/goes out of scope.
Therefore you would not need to overload the destructor
because the frame work always calls the default destructor.

Additionally the C++ standard defines that a conforming
compiler only allows for 1 destructor per class.

Is This Answer Correct ?    21 Yes 2 No

why destructor is not over loaded?..

Answer / test

Destructor is not over loaded because OOP you can't Invoke a
call of the destructor (Dispose is another thing)

Is This Answer Correct ?    12 Yes 3 No

why destructor is not over loaded?..

Answer / varun

Normally you never explicitly call
the destructor, it is automatically called by the C++ frame
work when the object is deleted/goes out of scope.
Therefore you would not need to overload the destructor
because the frame work always calls the default destructor.

Additionally the C++ standard defines that a conforming
compiler only allows for 1 destructor per class.

Is This Answer Correct ?    5 Yes 1 No

why destructor is not over loaded?..

Answer / gyana

In c# we cannot over load the desructor as because
destructor is presented by defaultly in c# and we cannot
create any object of it.we cannot also define a new
desructor.It cannot be explicitly used.for this reason we
cannot invoke the desructor and it cannot be overloaded..

Is This Answer Correct ?    3 Yes 1 No

why destructor is not over loaded?..

Answer / m.salah

destructor not overloaded because not has parameters

Is This Answer Correct ?    9 Yes 12 No

Post New Answer

More OOPS Interview Questions

What is pointer in oop?

0 Answers  


what are the realtime excercises in C++?

0 Answers   IBM, Wipro,


What is polymorphism in oops?

1 Answers  


What is class and example?

0 Answers  


What is static in oop?

0 Answers  


what uses of c++ language?

3 Answers  


What is the types of inheritance?

0 Answers  


What is polymorphism in oops with example?

0 Answers  


Write a program to demonstrate the use of 'Composition' in C++

2 Answers  


What is difference between new and malloc?

7 Answers   emc2,


What is a superclass in oop?

0 Answers  


Why do we use inheritance?

0 Answers  


Categories