ch07 - 多维数组.pptVIP

  • 6
  • 0
  • 约 28页
  • 2017-08-23 发布于河南
  • 举报
ch07 - 多维数组

Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved. 0132130807 Chapter 7 Multidimensional Arrays Motivations Thus far, you have used one-dimensional arrays to model linear collections of elements. You can use a two-dimensional array to represent a matrix or a table. For example, the following table that describes the distances between the cities can be represented using a two-dimensional array. Objectives To give examples of representing data using two-dimensional arrays (§7.1). To declare variables for two-dimensional arrays, create a

文档评论(0)

1亿VIP精品文档

相关文档