Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439

Often data comes naturally in atwo dimensional form.For example, maps are two dimensional (or more),the layout of a printed page is two dimensional,a computer-generated image (such as on your computer screen)is two dimensional,and so on.

For these situations you needa two-dimensional array.This is a collection of cells laid outin a 2D grid, like graph paper.Each cell can hold a value (as with a 1D array).However, now two indexes are needed to specify acell.

Topics:

If you have ever used a spreadsheet application then you already haveused a 2D grid for holding and manipulating data.

QUESTION 1:

(Thought question: ) Do you suspect that 2D arrays in Java are objects?