OOPs Concepts
Programming and Technical
Logical Reasoning
Blood Relations
Destructor can have following number of argument
-2
-1
-0
Read Solution (Total 9)
-
- 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
- 10 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. - 9 years agoHelpfull: Yes(1) No(0)
- 0 .bcoz destructor has the work of destructing which is called implicitly.so it does not need argument.
- 9 years agoHelpfull: Yes(1) No(0)
- 0 arguments
- 9 years agoHelpfull: Yes(0) No(0)
- 0 no need of argument in distructor
- 9 years agoHelpfull: Yes(0) No(0)
- 0 arguments
- 8 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.
- 6 years agoHelpfull: Yes(0) No(0)
- 0 because destructor is destroy the objects
- 5 years agoHelpfull: Yes(0) No(0)
OOPs Concepts Other Question