Chapter 4 and 7.1 Flashcards
1
Q
how many values do variables store in memory
A
a single value
2
Q
how many values do data structures store in memory
A
multiple values
3
Q
is an array data structure or value?
A
it is a data structure that stores values
4
Q
what data structures have we learned
A
arrays, strings, enumerations, and objects
5
Q
an array is characters is known as a
A
String
6
Q
how to format an array
A
baseType[] arrayName = new baseType[length];
7
Q
how to initialize an array
A
baseType[] arrayName = { insert stuff}