Distractors in C++, so an object's destructor is its clean up function.
So this destructor is invoked before an object is destroyed.
So distractors are almost never called explicitly, So the compiler will ensure that the each object's
detractor is called as appropriate.
So you declare a class destructor with the child here.
Child followed by the name of the class here.
Child here.
My date and time.
This way you can sit a distractor here.
So.
Here we declare that my date and time destructor.
So here, let's let's write a sound called here that will.
Tell us when the object will.
We will print some we will print something on the console screen when our object is distracted here.
Object this destructor here.
So defining this destructor is optional.
So if you decide to implement a destructor, it must not take any arguments.
Examples of actions you might want to take in a destructor include releasing file handler handlers,
flushing network circuits, and freeing dynamic objects.
So if you don't define a destructor, a default destructor is automatically generated.
So the default destructor behavior is to perform no action.
So you you will learn a whole lot more about distractors in the next lectures.