Advertisement

Collections

  • Tony Jenkins
  • Graham Hardman

Abstract

By now you should understand what a variable is, how you can use it, and what it is used for. Variables are very good at what they do, but they can only store a single value. What if you need to process and store two integers? More often than not you’ll use two integer variables. How about 10 variables, or 100? Before long your program will become unwieldy, repetitive, and extremely large. This is a bad thing and so a neater mechanism is required. It is possible to define variables that can store collections of values.

Keywords

Object Type Test Plan Wrong Order Driver Program Public Void 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Tony Jenkins and Graham Hardman 2004

Authors and Affiliations

  • Tony Jenkins
    • 1
  • Graham Hardman
    • 1
  1. 1.School of ComputingUniversity of LeedsUK

Personalised recommendations