Download presentation
Presentation is loading. Please wait.
Published byDewi Kartawijaya Modified over 6 years ago
1
12.4 p 471 a) double[] number = {1.05, 2.05, 3.05, 4.05, 5.05};
number : double[] 1.05 2.05 3.05 4.05 5.05 [0] [1] [2] [3] [4]
2
12.4 p 471 b) char[] initial = {'w', 'x', 'y', 'z'}; initial : char[]
[0] [1] [2] [3]
3
12.4 p 471 c) String[] color = {"red", "green", "blue"}; :String
char[] value 'r' 'e' 'd' :char[] color : String[] [0] [1] [2] 'g' 'r' 'e' 'n' :String char[] value :char[] 'b' 'l' 'u' 'e' :String char[] value :char[]
4
12.4 p 471 d) AWindow[] pane = {new AWindow(0,0,50,50),
x y 50 width length pane : Window[] [0] [1] [2] :AWindow 100 x y 60 width length :AWindow 70 width length 200 x y
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.