1
00:00:00,420 --> 00:00:04,990
And now let's actually create an if else statement here.

2
00:00:05,100 --> 00:00:05,640
OK.

3
00:00:05,640 --> 00:00:13,770
So here as you can see this is my if else statement here I am saying that if animals ate that contains

4
00:00:13,770 --> 00:00:20,700
this value tiger then execute this line of code here takes the greatest values that sit text tiger that

5
00:00:20,700 --> 00:00:22,180
exists else.

6
00:00:22,270 --> 00:00:28,620
Otherwise if these animals are a dog does not actually contain this or tiger value then execute this

7
00:00:28,620 --> 00:00:33,870
line of code here takes the greatest values that say text Tiger does not exist.

8
00:00:33,930 --> 00:00:38,970
OK so now let's actually run our project and see what happens.

9
00:00:38,970 --> 00:00:45,360
So now as you can see our application is running on this emulator and here it says that Tiger does not

10
00:00:45,390 --> 00:00:45,830
exist.

11
00:00:45,840 --> 00:00:46,360
OK.

12
00:00:46,500 --> 00:00:49,000
So let's go back and say this main activity that I will fight here.

13
00:00:49,020 --> 00:00:51,510
Let's actually comment this line of code here.

14
00:00:51,750 --> 00:00:55,400
And let's actually not project again and see what happens.

15
00:00:55,410 --> 00:01:02,530
And here now our app Our application is running on this emulator and it says Tiger does exist.

16
00:01:02,700 --> 00:01:03,450
OK.

17
00:01:03,900 --> 00:01:09,810
So hopefully that makes sense and I think that's enough for this tutorial.

18
00:01:09,960 --> 00:01:15,360
And if you have any questions please post the discussion in the course and I'll do my best to answer

19
00:01:15,420 --> 00:01:16,910
all of your questions.

20
00:01:16,920 --> 00:01:21,280
Thank you very much for watching and I'll see you in the next section OK.

