Guide to Java pp 203-243 | Cite as

Arrays

  • James T. Streib
  • Takako Soma
Chapter
Part of the Undergraduate Topics in Computer Science book series (UTICS)

Abstract

Arrays and array processing are illustrated in the chapter starting with declaration, access, input and output. In addition to simple processing, the passing of an array to and from a method is demonstrated. Other processing includes reversing, searching (sequential and binary), and sorting an array using the bubble sort. Also, two-dimensional arrays and arrays of objects are introduced, along with a complete program.

Keywords

Sorting 

Copyright information

© Springer-Verlag London 2014

Authors and Affiliations

  • James T. Streib
    • 1
  • Takako Soma
    • 1
  1. 1.Department of Computer ScienceIllinois CollegeJacksonvilleUSA

Personalised recommendations