1 00:00:01,780 --> 00:00:02,610 There does not follow suit. 2 00:00:02,640 --> 00:00:08,340 And check out one what a concept in this section of functions such as named Meaders. 3 00:00:08,400 --> 00:00:12,450 Now this is named Demetre is a beautiful gargling functionality. 4 00:00:12,480 --> 00:00:14,700 It is not actually present in Java. 5 00:00:14,850 --> 00:00:17,320 So there is no chance of interoperability. 6 00:00:17,340 --> 00:00:20,010 In this case of NAMED IT leaders. 7 00:00:20,290 --> 00:00:25,890 So inside the intelligence ID this is the same project on top of which we were recording in the previous 8 00:00:25,890 --> 00:00:26,750 videos. 9 00:00:27,030 --> 00:00:28,970 So he had inserted the find value method. 10 00:00:28,980 --> 00:00:30,080 I was simply mortified. 11 00:00:30,080 --> 00:00:38,330 I called and now here I would simply remove the return type from here and also remove the return type 12 00:00:38,330 --> 00:00:39,080 from here. 13 00:00:39,840 --> 00:00:43,940 And then simply modify my code inside the main activity as well. 14 00:00:44,430 --> 00:00:46,210 So the main method as well. 15 00:00:46,410 --> 00:00:50,320 And now suppose if it in the code right now let's see what happens. 16 00:00:51,200 --> 00:00:54,260 And now inside my java file we have some error. 17 00:00:54,410 --> 00:00:59,490 So let us commend these two lines of code because we do need needed in this value. 18 00:00:59,540 --> 00:01:04,270 So inside the Cartland file let us not click on this icon and then run the code. 19 00:01:04,560 --> 00:01:09,380 So in the output we get lent is to bread is three and hiders Turkey. 20 00:01:09,680 --> 00:01:18,650 And now suppose if I use the naming parameter such as if I use lende equal to two bread equal to three 21 00:01:19,220 --> 00:01:21,310 and hide equal to Turkey. 22 00:01:21,320 --> 00:01:27,170 So here the sequence is exactly the same as the formal arguments that we have defined here. 23 00:01:27,590 --> 00:01:31,390 So here length equal do do will fall here. 24 00:01:31,610 --> 00:01:34,020 Break equal to 3 will fall here. 25 00:01:34,130 --> 00:01:36,990 And height equal to 30 will fall here. 26 00:01:37,230 --> 00:01:39,800 Now what if I change the sequence. 27 00:01:39,800 --> 00:01:49,940 Suppose if I got the height 30 from here come on X and pasted right at the beginning and then check 28 00:01:49,940 --> 00:01:55,710 out what happens when we execute our Called so simply called. 29 00:01:55,710 --> 00:02:01,740 So here in the output console the output remains same length is again too but it is 3 hightest hearty. 30 00:02:01,860 --> 00:02:03,990 No vord the heck is happening here. 31 00:02:04,320 --> 00:02:07,850 Now this is the beauty of the naming meters in case of Cartland. 32 00:02:07,980 --> 00:02:10,990 Here we have defined height equal to 30. 33 00:02:11,040 --> 00:02:17,640 So no matter what is a sequence of these meters right here inside the main method this height equal 34 00:02:17,680 --> 00:02:21,970 Duterte will match with this height equal to 10 and over. 35 00:02:22,000 --> 00:02:25,970 And similarly the length 2 will fall here. 36 00:02:26,250 --> 00:02:28,650 And the bread 3 will fall here. 37 00:02:28,770 --> 00:02:29,350 Right. 38 00:02:29,660 --> 00:02:35,810 And now I suppose if I remove the hide from here and then we're only left with the left and right. 39 00:02:35,940 --> 00:02:40,220 So this lint will come here and it will come here as we all of it offered. 40 00:02:40,470 --> 00:02:43,140 And the HYGD will get its default value. 41 00:02:43,170 --> 00:02:48,870 Now again let's change the sequence gamine x and B straight here. 42 00:02:51,010 --> 00:02:51,880 And now make an order. 43 00:02:51,910 --> 00:02:54,140 Here we are only having two meters. 44 00:02:54,310 --> 00:02:59,470 And here we have three barometers not in spite of changing the sequence and also reducing the number 45 00:02:59,470 --> 00:03:00,480 of feet or meters. 46 00:03:00,640 --> 00:03:05,560 DAYBREAK will fall in its own part that is this one. 47 00:03:05,640 --> 00:03:08,610 And the land value will come here. 48 00:03:08,790 --> 00:03:11,110 Let us note in the chord. 49 00:03:11,280 --> 00:03:13,430 So here we go again the line is two. 50 00:03:13,440 --> 00:03:15,630 That is three and height is 10. 51 00:03:15,660 --> 00:03:23,430 Now the advantage of using the naming bit meters in case of Cartland is that if you have seven to eight 52 00:03:23,660 --> 00:03:25,670 metres inside this method. 53 00:03:25,670 --> 00:03:31,790 So in that case it will simply give you a C for a side of defining the actual arguments inside the main 54 00:03:31,790 --> 00:03:32,470 method. 55 00:03:32,720 --> 00:03:38,540 So this will simply help you to avoid any mistake by defining the values right here. 56 00:03:38,540 --> 00:03:41,160 So hope you got something out of this value. 57 00:03:41,360 --> 00:03:42,880 Thank you and have a good day.