A Guide To Programming in Java Chapter 10 Arrays

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

element

a data item in an array

collection

a group of related elements that are stored together as a single unit

double

a java.lang class for wrapping double values in an object

integer

a java.lang class for wrapping int values in an object

string

a java.lang class with methods for converting a string to a set of characters or for inspecting individual characters of a string

for

a statement that can be used to traverse an array. in one form, it is referred to as a for-each loop and does not use a counter variable.

array

a structure that can store many of the same kind of data together at once

linear search

an algorithm for searching an array in which each element of the array in checked one after the other

ArrayIndexOutOfBoundsException

an exception thrown when an invalid array index is used

collections framework

classes for implementing collections

traversing

iterating through element of an array

new

operator that allocates space for the elements in an array

[]

the operators for accessing an array element

unicode

the sixteen-bit digital code used to represent every letter and symbol

index

the value associated with an element in an array. index values begin at 0 and count up

generics

used for communicating to the compiler the type of data stored in an ArrayList


Kaugnay na mga set ng pag-aaral

Pharmacology study guide (the good stuff Class 86)

View Set

RN 402 ATI Shock Practice Questions

View Set

Introduction to Social Media Final

View Set

Research Methods CH1, 2, 3 & 4 Exam

View Set