CS1110: Computer Science I - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

CS1110: Computer Science I

Description:

CS1110: Computer Science I. Chapter 5. Two-Dimensional Arrays. Two ... Jagged Two-Dimensional Arrays. int[][] jagged = new int[3][]; jagged[0] = new[1] ... – PowerPoint PPT presentation

Number of Views:85
Avg rating:3.0/5.0
Slides: 5
Provided by: csWm6
Category:

less

Transcript and Presenter's Notes

Title: CS1110: Computer Science I


1
CS1110 Computer Science I
  • Chapter 5
  • Two-Dimensional Arrays

2
Two-Dimensional Arrays
  • Two-dimensional array declaration
  • double, matrix
  • Three-dimensional array declaration
  • int,, matrix

3
Initialization
  • int, a 1,2, 3,4, 5,6
  • int, b 1,2,3, 4,5,6
  • int, c 1,2,3,4,5,6

4
Jagged Two-Dimensional Arrays
  • int jagged new int3
  • jagged0 new1
  • jagged1 new2
  • jagged2 new3
Write a Comment
User Comments (0)
About PowerShow.com