And when it reaches to these are and curly brace of the Smurfit this variable is no longer a life OK.
And that's the end of this valuable life.
This local radio.
OK.
But when you create a valuable insight of this class inside of the class itself that's valuable.
It's going to be alive for the lifetime of your application.
So hopefully that makes sense and if you have any questions about this concept please post the discussion
in the course and then I do my best to answer your questions.
And another important point that I wanted to talk about as you can see here as I said before in the
previous sections we actually start counting from number zero again not number one.
OK.
So when he I actually specified that if the length of this value this string value is greater than or
equal to number nine this means if the characters if the number of characters of this value is 10.
So if you start from number zero.
So as you can see here now our application is actually running on this emulator here.
And let's actually create some random numbers OK.
And as you can see here now our button is invisible and it actually generated some random random numbers
here.
So let's actually count the random numbers here.
0 1 2 3 4 5 6 7 8 9.
OK.
So that's the result of this if statement here that I actually created and I said that if the length
of this string value is greater than or equal to number 9.
So it is of value the length of this value is actually equal to number 9.
So it is going to actually make this button invisible.
So always remember in programming we always count from numbers zero.
OK this is really important.
Hopefully that makes sense.
And if you have any questions please post the discussion in the course.
I'll do my best to answer your questions.
Aaron thank you very much for watching and I'll see you in the next tutorial.