1
00:00:00,120 --> 00:00:05,160
Hi, folks, let's tackle the recession and today's topic is coding or distracters.

2
00:00:05,640 --> 00:00:08,190
So here we are with this recording of a main function.

3
00:00:08,670 --> 00:00:14,820
And today we will see how a district that is called and how it works so far.

4
00:00:14,820 --> 00:00:15,470
Distractor.

5
00:00:15,630 --> 00:00:17,190
Let's create a glass.

6
00:00:19,730 --> 00:00:25,430
Let's name stumble in example, let's create a public section.

7
00:00:27,120 --> 00:00:30,240
In public sector, let's create the first.

8
00:00:34,980 --> 00:00:41,910
So to detect whether the court will be involved or whether the will be here, let's put out a statement

9
00:00:41,910 --> 00:00:42,180
here.

10
00:00:43,570 --> 00:00:55,300
With content like Incans constructor now since constructiveness created, now let's create a distracted.

11
00:00:58,430 --> 00:01:03,530
Got that in the next segment as a.

12
00:01:05,550 --> 00:01:06,440
This, that.

13
00:01:07,710 --> 00:01:14,370
So if you have a blood sample, we have a construct that we have a district that now in main function,

14
00:01:14,850 --> 00:01:17,220
let's create an object of a sample size.

15
00:01:21,840 --> 00:01:24,950
So here we are ready with the code of our destructor.

16
00:01:26,130 --> 00:01:28,370
So now let's understand the flow.

17
00:01:28,890 --> 00:01:36,440
So sensitive line number 16, an object is created that will be invocation of a concept that in constructor

18
00:01:36,570 --> 00:01:41,640
there is a sealed statement in concept, but so initially it will be got printed.

19
00:01:42,430 --> 00:01:49,690
I had that since after line number 16, the invocation line number 17 in line number 17, there is a

20
00:01:49,690 --> 00:01:50,220
statement.

21
00:01:50,230 --> 00:01:50,770
Hello.

22
00:01:51,010 --> 00:01:57,000
So this will work since in main function there will be no second statement after that.

23
00:01:57,250 --> 00:02:03,250
And just before getting out of school, there will be invocation to this chapter to release the educator,

24
00:02:03,250 --> 00:02:08,880
the memory of all the objects which was created, the object which was created in sample.

25
00:02:09,400 --> 00:02:12,610
So to release them in memory, that will be invocation.

26
00:02:13,810 --> 00:02:19,180
So at last there will be invocation to this statement and there will be plenty of in.

27
00:02:20,350 --> 00:02:21,680
Let's see what was the result.

28
00:02:24,830 --> 00:02:31,990
See, initially, there was quite a sense this object was created, so Fluvial moved to this particular

29
00:02:32,080 --> 00:02:41,890
site after that wall was painted because Flow was moved to lane number 17 after that was quite because

30
00:02:42,010 --> 00:02:48,110
just before going out of school of this particular main function, there will be invocation to the destructor

31
00:02:48,520 --> 00:02:51,830
to delete or distract all the object of symbols class.

32
00:02:52,720 --> 00:02:55,060
So this was all about opening part of the step that.

33
00:02:55,310 --> 00:02:56,260
Thanks for watching.
