Computer Science, asked by taibachowdhury4010, 1 year ago

What is correct name of a method which has the same name as that of class and used to destroy objects?

Answers

Answered by nabiausaaf
0

It is Destructor.

It is a Function of a Class which has the same name as that of a class and is invoked when the object goes out of scope.

Similar questions