OOPs Concepts
Programming and Technical
Logical Reasoning
Blood Relations
Destructor can have following number of argument
-2
-1
-0
Read Solution (Total 10)
-
- 0,becz destructor is for destroying objects and not creating so there is no need to initialize the parameters
- 10 years agoHelpfull: Yes(5) No(0)
- 0 no arguments in distructor
- 11 years agoHelpfull: Yes(2) No(0)
- Destructor not have any arguments.
1.it simply called when an object of a class is destroy.
it always call without arguments-it means-0. - 10 years agoHelpfull: Yes(1) No(0)
- 0 .bcoz destructor has the work of destructing which is called implicitly.so it does not need argument.
- 10 years agoHelpfull: Yes(1) No(0)
- 0 arguments
- 10 years agoHelpfull: Yes(0) No(0)
- 0 no need of argument in distructor
- 10 years agoHelpfull: Yes(0) No(0)
- 0 arguments
- 9 years agoHelpfull: Yes(0) No(0)
- 0,because it is a destroyig object and it is called automatically without mentioning it in program when a object is created.
- 7 years agoHelpfull: Yes(0) No(0)
- 0 because destructor is destroy the objects
- 6 years agoHelpfull: Yes(0) No(0)
- 0 destructor is invoked whenever a declared object goes out of its scope
- 3 Months agoHelpfull: Yes(0) No(0)
OOPs Concepts Other Question