A function with the same name as the class, but preceded with a tilde character (~) is called __________ of that class.
Options
A. constructor
B. destructor
C. function
D. object
Correct Answer
destructor
Constructors and Destructors problems
Search Results
1. What happens when a class with parameterized constructors and having no default constructor is used in a program and we create an object that needs a zero-argument constructor?