So hopefully that makes sense and let's actually create another method here.
So now let's actually paste on another method here.
So as you can see here this is my Meffert.
They actually paste that here.
And again as you can see the access modifier of this method is public.
The return type of this method is Voyt the name of this method is let's output this course to this screen
and this method actually accepts an argument of type takes you.
OK.
So as you can see the name of this argument is takes.
OK.
And here in line 82 in say that the Smurfette are declared string variable here.
OK as you can see our string object and the name of this variable is old tapes view value OK.
And then here I created a for loop as you can see here.
And this for loop inside of these practices of this for loop as you can see.
We created an integer valuable named our game index and I assigned the value 0 to this valuable.
And then here I create the condition.
OK that determines how many times this group is going to be executed.
So here I said that until the value of this game in the x variable is less than the value of the length
of this course of this game in the x variable then you can actually execute this up for a loop here.
And then here I specify that after each execution of this for a loop increment the value of this game
indexed variable by 1.
And here I created another for a loop as you can see here and here inside of this for loop as you can
see.
This is an enhanced for loop.
And here I specified that I actually iterate over the values that are actually inside of the agame index.
Actually it gave me index of these scores.
OK either right.
So here I actually created a variable of that integer.
And here I want to iterate over the values that are actually inside of the game index of these scores.
So as you know these scores are actually a two dimensional arii.
OK.
So here you have a arrays inside of another arey.
So again index for example for the first time that this fall is going to be executed.
This for loop.
The value of the game index is zero.
So it's going to go inside of the index zero of these three.
OK this is a two dimensional array.
So if you have arrays inside another a.
So it's going to go inside of the index zero of this area which is actually another array.
And then it's going to disvalue this variable is going to iterate over those values.
OK.
Over those values that are actually inside of the Aure that are inside of these two dimensional array.
OK.
And then here is going to actually be actually instantiated this variable all to take the view value
assignment operator text view.
So here I actually referred to the name of this argument that get text that was three.
So here I actually getting the text of this text and here I am converting that value to our string value.
And then I am assigning value to this all the text view value OK.
And here I am actually referring to the name of this text view.
As you can see text your argument that's a text string format.
So here I want to actually create a string format object as you can see here and here I referred to
the name of this string class and this format is actually a static method a class method that you are
calling on this string class and first one inside the prentices for the first argument we need to actually
specify the formats of are of value over a string value.
So all text value plus here I want to concatenate this value of this value here J number person.
It is actually an integer value or two fields two fields right justified integer value as you can see
percent to the colon per cent. So it's going actually here.
I am actually saying that our create this is going to refer to or to an integer value as you can see
it is this free here means a free feels right justified.
OK.
And here as you can see for the for this Torchin for this person to determine if you need to actually
create an argument of type integer.
So again index plus 1.
So as you can see here let me actually create a new line so that we can see what's going on here and
here as you can see an index plus one is actually an argument for this plus percent with the talken
as you can see here.
And hid because the value of this game index of value is zero OK.
It's going to increment that value so that the value of this game Index is one.
And as you can see here I am referring to the name of this game score variable as you can say that we
created inside of these enhanced loop.
And here we are actually referring to the score to the specific score that is inside of that Ari.
OK.
And then this token is for this game score valuable here.
OK person Fredy.
OK.
And we could actually write this code in an other way.
So as you can see here we have this text view here text that said text string format.
Ok old takes you value plus person to the call in person treaty.
OK.
Game index plus one game score.
So here as you can see I created a line of code here.
I commented out this line of code so I don't need that here.
And I think we're done with this class.
So let's actually go back and say this main activity that Javal find here and inside of these uncreate
method is actually putting some lines of code here.
So here let's actually go inside this content underlined main that example and here it's actually to
select.
This takes the game scores here as you can see if I double click on this text.
I didn't actually to write the name of the idea of this text view.
OK.
So the game scores.
OK.
And then let's actually go back and say this game that job up fight as you can see.
These are our own quotes.
And let's actually go back and say this main activity that our main activity that I a fight here and
then I'm going to try to paste in some lines of code here.
So here I'm going to actually create some text view objects.
OK.
So as you can see here these are my view objects here.
And as you can see for the first line of code as you can see there are actually the type of my object.
It takes you to the game name.
And here I am referring to this idea or that idea that takes the game name takes you to the game scores
are that ITTL the game scores take through the game lowest score are that ideal that takes the game
lowest score takes few takes the game highest score are that 80 that takes the game highest score takes
real takes the game average value up scores are that ideal that makes the game average value of scores.
OK so now let's actually pasting up some lines of code here and then I'll explain to you what's going
on here.
OK.
So here I want to create an array of type integer Amante to actually a two dimensional array a multi
dimensional array here.
So here I just need to paste in this area here as you can see here.
I have a two dimensional array here.
OK.
The type of this error is integer.
And here I specified that I want to actually to create a two dimensional array by putting two pair of
brackets here.
The name of this area is game scores.
R8 assignment operator as you can see here are we have Ariz in sight of this Adye OK.
And as you can see we have an array and inside of this Arev we have alies.
OK.
So as you can see these are the values that are actually inside of this arrays.
And now and here I'm going to paste some lines of code and then I'll explain to you what's going on
here OK.
So as you can say these are the lines of code that are actually the pace that here.
First of all I created an object from this game class my game assignment operator and here I want to
actually instantiate this object by putting this new keyboard game.
So here the constructor that we actually created inside of this game class is actually called as you
can see this is our constructor and this constructor is actually accepting two arguments here there
are they to take of the first argument is strange and the data type of the second argument as you can
see is actually a two dimensional array of type integer.
OK.
So here for the first argument as you can see this is the name of our game God of War.
And the second argument is actually two dimensional at a game scores.
And here in line 57 I referred to the name of this TXI the game name object as you can see here the
game name.
That's a text my game that gets name here I am actually getting the name of this game and here I actually
in line for 88.
I referred to the name of this object that lets outpolled discourse to the screen.
So here I am actually calling this method that is inside of this game class on Andi's my game object
as you can see my game.
Let's output the scores to the screen and here this meant for I should accept an argument of type takes
few tweaks the game scores as you can see here.
OK.
So this is actually here in line in actually in this game class and here as you can see this is the
method let's output the scores to the screen.