Advertisement

Abstract

When you store data, such as numbers or strings, in a variable, you can store only one chunk of data at a time. If you need to store five different numbers, you have to create five different variables. If you need to store 100 different numbers, you have to create 100 different variables. Clearly, having to create a new variable to store each new chunk of data is clumsy and inefficient, so programming languages offer a solution called an array.

Keywords

Programming Language Array Element Class Reference Index Position Array Index 
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

© Wallace Wang 2011

Authors and Affiliations

  • Wallace Wang

There are no affiliations available

Personalised recommendations