00:02
Okay, this time they ask us if the string data type can be used as, let's see, a and operand for the, let's see, as an, this is right, for equal, equal or not equal? yes, but you could create an error if you're not careful, so try not to do this, but yes, you can totally do this.
00:41
Let's see.
00:43
The next question, as an expression in the switch statement to be evaluated.
00:47
Yeah, you can do that.
00:49
So as an expression in the switch statement.
01:01
And by that we mean like, okay, if you have switch and your string, let's say you called it my str.
01:12
And let's see, we have some code blocks.
01:17
We have a couple cases.
01:19
We end up with a case.
01:21
And what we want to test it against the constant value like apple.
01:28
And we have some code that runs here and a break.
01:31
Make sure you do a break if you need it and then continues...