Save 40% on books and eBooks + 70% on videos now through May 31*—use code PROGRAM. Shop now.
Additional sample videos, individual lessons and other formats are available here.
Register your product to gain access to bonus material or receive a coupon.
Initializing the elements of an array to default values of zero
Initializing the elements of an array with an array initializer
Calculating the values to be placed into the elements of an array
Computing the sum of the elements of an array
Bar chart printing program
Die-rolling program using arrays instead of switch
Poll analysis program
Card shuffling and dealing
Using the enhanced for statement to total integers in an array
Passing arrays and individual array elements to methods
GradeBook class using an array to store test grades
Initializing two-dimensional arrays
GradeBook class using a two-dimensional array to store grades
Using variable-length argument lists
Initializing an array using command-line arguments
Arrays class methods and System.arraycopy