arrays Flashcards

(2 cards)

1
Q

what is an array

A

allows us to hold multiple variable values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how to tell an array how many strings you want inside of it

A

string [] ANS = new string [2];
ANS[0] = “ANS”;
ANS[1] = “ANS”;
ANS[2] = “ANS”;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly