The first argument is of type takes view.
So I can't just type anti-X the dice.
Number one comma and the second argument is of type integer array.
OK.
So the name of the array is occurrence comma.
And here we need to actually specify the index.
So the index is.
No.
OK.
Break case 2 colon.
OK.
Put the right value to the text you thinks the DOS number two comma occurrence comma face No.
OK.
Break.
Case number three.
Colon put the right value to the text view takes the dice number free comma occurrence comma face name.
OK.
Break.
Case number four colon.
Put the right value to the text view the dice number for comma occurrence comma face Nahm break.
Case number five colon.
Put the right value to the text view to the extent number five comma comma occurrence come up face Nahm.
OK break.
And Case Number 6.
Colon put the right value to the text through takes the dice number 6 comma occurrence comma face now.
OK.
And pray.
So now let's actually run our project and see what happens.
So here as you can see our application is actually running on this emulator.
So now let's actually click on this.
Roll the dice button here and remember that only click on the spot and once.
Ok if you click on this button.
Actually several times the application is going to actually crash because it is actually performing
some complex calculations.
So here as you can see we can see the values that are actually here.
OK and here we you to use encapsulation.
OK in order to output these values through the screen and this is the preferred way in order to write
your codes in Java.
OK always use encapsulation always.
Actually put your Ancoats in my if it's ok.
Always use methods in order to actually do your job.
Do your specific job in programming.
OK and I think that's enough for this tutorial and if you have any questions please post the discussion
in the course and then I'll do my best to answer all of your questions.
Thank you very much for watching and I'll see you in the next year.