Busy. Please wait.
Log in with Clever

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever

Username is available taken
show password

Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.

Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
Didn't know it?
click below
Knew it?
click below
Don't Know
Remaining cards (0)
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Chapter 8


Array A named list of data items that all have the same type
Element Each data item in an array
Declaring Arrays Ex1: double[] salesFigrues = new double[20];... Ex2: int[] idNums = new int[100];
Naming Arrays Names start with lowercase letter and user uppercase letters to begin subsequent words. Often named using a plural noun and by adding a final word that implies a group
Subscript(Index) An integer contained within square brackets that specifies one of an array's elements. AN array's elements are numbered beginning with 0. Ex: salesFigures[0];
Out of Bounds When you use a subscript that is too small(negative) or too large for an array. An error message is generated
Initialization List A list of values separated by commas and enclosed within curly braces which initialize and array. The size of array is assigned based on the number of values. No keyword new needed. Ex: int[] tenMults = {10, 20, 30, 40, 50, 60};
Populating an Array Providing values for all the elements in an array
Initializing an Array You cannot directly initialize only part of an array. You either must initialize every element or none of them
length Field Contains the number of elements in the array. length is not an array method; it is a field. AN instance variable or object field such as length is also called a property of the object. Ex: scoreArray.length;
Enhanced for Loop(foreach loop) Allows you to cycle through an array without specifying the starting and ending points for the loop control variable. Ex: for(int val : scoreArray)... System.out.println(val);
Parallel Array One with the same number of elements as another and for which the values in corresponding elements are related
Range Match A process in which you compare a value to the endpoints of numerical ranges to find the category in which a value belongs
Passed by Value The individual array elements are passed by value; that is, ca copy of the value is made and used within the receiving method. When any primitive type(boolean, char, byte, short, int, long, float, or double) is passed to a method, the value is passed
Reference Types Arrays, like all nonprimitive objects, are reference types; this means that the object actually holds a memory address where the values are stored
Popular Engineering sets




Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
restart all cards